]> granicus.if.org Git - icinga2/commitdiff
Update chocolatey packages and RELEASE.md
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 21 Apr 2016 12:03:42 +0000 (14:03 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 12 May 2016 09:08:19 +0000 (11:08 +0200)
fixes #11647

RELEASE.md
tools/chocolateyInstall.ps1

index 0b21f2ed4cc22c02e6d5d366cc43d43f195ea3c7..b8c2c6ca2ab4b807094d49632970073030aca6c9 100644 (file)
@@ -130,6 +130,21 @@ Example for CentOS7:
 Create a new release for the newly created Git tag.
 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
 
 SSH into the web box, navigate into `icinga2-latest/module/icinga2`
index ad5a282ca8b5d1e027f6b880d191583a40521e6b..b31c84f246d38aacc07037eaae1c4a105ba5bba5 100755 (executable)
@@ -2,7 +2,7 @@
 $installerType = 'msi'\r
 $url32 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86.msi'\r
 $url64 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86_64.msi'\r
-$silentArgs = '/silent'\r
+$silentArgs = '/qn /norestart'\r
 $validExitCodes = @(0)\r
 \r
 Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes\r