From 57647ce1e740cc84f652eecd5347e50a4ef5e314 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 18 Jun 2015 11:42:33 +0200 Subject: [PATCH] Add spec file for Chocolatey fixes #8503 --- icinga2.nuspec | 26 ++++++++++++++++++++++++++ tools/chocolateyInstall.ps1 | 7 +++++++ 2 files changed, 33 insertions(+) create mode 100755 icinga2.nuspec create mode 100755 tools/chocolateyInstall.ps1 diff --git a/icinga2.nuspec b/icinga2.nuspec new file mode 100755 index 000000000..da355c17d --- /dev/null +++ b/icinga2.nuspec @@ -0,0 +1,26 @@ + + + + + + + icinga2 + Icinga2 + 2.3.5 + 2015 - The Icinga Project + Martin Schuster + icinga2 - Monitoring Agent for Windows + Icinga2, make the way for the next generation + http://www.icinga.org + icinga2 agent monitoring + http://www.icinga.org/icinga/faq + false + https://www.icinga.org/wp-content/uploads/2015/05/icinga_icon_128x128.png + + + + + + + + diff --git a/tools/chocolateyInstall.ps1 b/tools/chocolateyInstall.ps1 new file mode 100755 index 000000000..4986b6743 --- /dev/null +++ b/tools/chocolateyInstall.ps1 @@ -0,0 +1,7 @@ +$packageName = 'icinga2' +$installerType = 'exe' +$url = 'http://packages.icinga.org/windows/Icinga2-v2.3.5.exe' +$silentArgs = '/S' +$validExitCodes = @(0) + +Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes \ No newline at end of file -- 2.40.0