[icinga-checkins] icinga.org: icinga2/support/2.4: Update chocolatey packages and RELEASE.md

git at icinga.org git at icinga.org
Thu May 12 11:50:26 CEST 2016


Module: icinga2
Branch: support/2.4
Commit: f177794d961fc822a826a8cb90cf15db6fa3f08c
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=f177794d961fc822a826a8cb90cf15db6fa3f08c

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Apr 21 14:03:42 2016 +0200

Update chocolatey packages and RELEASE.md

fixes #11647

---

 RELEASE.md                  |   15 +++++++++++++++
 tools/chocolateyInstall.ps1 |    2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/RELEASE.md b/RELEASE.md
index 0b21f2e..b8c2c6c 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -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`
diff --git a/tools/chocolateyInstall.ps1 b/tools/chocolateyInstall.ps1
index ad5a282..b31c84f 100755
--- a/tools/chocolateyInstall.ps1
+++ b/tools/chocolateyInstall.ps1
@@ -2,7 +2,7 @@
 $installerType = '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'
-$silentArgs = '/silent'
+$silentArgs = '/qn /norestart'
 $validExitCodes = @(0)
 
 Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes



More information about the icinga-checkins mailing list