From ec3f7f64daf28c09b5fd95e788d373c6c8ed67b4 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 13 Dec 2012 15:39:53 +0000 Subject: [PATCH] Add Icinga elements. Add basic install-only elements for creating images for Icinga's core and its web UI. Change-Id: I7193a3a7130543903d07efc95322487444443d9a --- elements/icinga-core/README.md | 2 ++ elements/icinga-core/install.d/05-icinga-core | 8 ++++++++ elements/icinga-web/README.md | 2 ++ elements/icinga-web/install.d/06-icinga-web | 9 +++++++++ 4 files changed, 21 insertions(+) create mode 100644 elements/icinga-core/README.md create mode 100755 elements/icinga-core/install.d/05-icinga-core create mode 100644 elements/icinga-web/README.md create mode 100755 elements/icinga-web/install.d/06-icinga-web diff --git a/elements/icinga-core/README.md b/elements/icinga-core/README.md new file mode 100644 index 00000000..fe25472a --- /dev/null +++ b/elements/icinga-core/README.md @@ -0,0 +1,2 @@ +Install Icinga's core from the distribution repository. + diff --git a/elements/icinga-core/install.d/05-icinga-core b/elements/icinga-core/install.d/05-icinga-core new file mode 100755 index 00000000..8493a05a --- /dev/null +++ b/elements/icinga-core/install.d/05-icinga-core @@ -0,0 +1,8 @@ +#!/bin/sh + +# install icinga-core + +set -e +set -o xtrace + +DEBIAN_FRONTEND=noninteractive apt-get -y install icinga-core diff --git a/elements/icinga-web/README.md b/elements/icinga-web/README.md new file mode 100644 index 00000000..a0c6d137 --- /dev/null +++ b/elements/icinga-web/README.md @@ -0,0 +1,2 @@ +Install Icinga's web interface from the distribution repository. + diff --git a/elements/icinga-web/install.d/06-icinga-web b/elements/icinga-web/install.d/06-icinga-web new file mode 100755 index 00000000..404829f5 --- /dev/null +++ b/elements/icinga-web/install.d/06-icinga-web @@ -0,0 +1,9 @@ +#!/bin/sh + +# install icinga-web + +set -e +set -o xtrace + +DEBIAN_FRONTEND=noninteractive apt-get -y install icinga-web icinga-cgi +