mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 12:44:58 +02:00
parent
2d55cf1341
commit
b6435142f7
15
RELEASE.md
15
RELEASE.md
@ -130,6 +130,21 @@ Example for CentOS7:
|
|||||||
Create a new release for the newly created Git tag.
|
Create a new release for the newly created Git tag.
|
||||||
https://github.com/Icinga/icinga2/releases
|
https://github.com/Icinga/icinga2/releases
|
||||||
|
|
||||||
|
## Chocolatey
|
||||||
|
|
||||||
|
Navigate to the git repository on your Windows box which
|
||||||
|
already has chocolatey installed. Pull/checkout the release.
|
||||||
|
|
||||||
|
Create the nupkg package:
|
||||||
|
|
||||||
|
cpack
|
||||||
|
|
||||||
|
Install the created icinga2 package locally:
|
||||||
|
|
||||||
|
choco install icinga2 -version 2.4.7 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
|
||||||
|
|
||||||
|
Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
|
||||||
|
|
||||||
## Online Documentation
|
## Online Documentation
|
||||||
|
|
||||||
SSH into the web box, navigate into `icinga2-latest/module/icinga2`
|
SSH into the web box, navigate into `icinga2-latest/module/icinga2`
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
$installerType = 'msi'
|
$installerType = 'msi'
|
||||||
$url32 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86.msi'
|
$url32 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86.msi'
|
||||||
$url64 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86_64.msi'
|
$url64 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86_64.msi'
|
||||||
$silentArgs = '/silent'
|
$silentArgs = '/qn /norestart'
|
||||||
$validExitCodes = @(0)
|
$validExitCodes = @(0)
|
||||||
|
|
||||||
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes
|
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user