summaryrefslogtreecommitdiff
path: root/pcr/icinga/icinga.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-01 12:58:16 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-02 16:35:28 -0300
commite72ed9b48affcd7747805203ee8b6165fc5ccb80 (patch)
tree8f89055f4364f3a65f62f74ee996849a3fdedc96 /pcr/icinga/icinga.install
parentf24cb55c137dcaf6615b875d4ea5e7570cb1fcdf (diff)
icinga: add new package to [pcr] -> https://labs.parabola.nu/issues/724
Diffstat (limited to 'pcr/icinga/icinga.install')
-rw-r--r--pcr/icinga/icinga.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/icinga/icinga.install b/pcr/icinga/icinga.install
new file mode 100644
index 000000000..5799254e9
--- /dev/null
+++ b/pcr/icinga/icinga.install
@@ -0,0 +1,22 @@
+# arg 1: the new package version
+
+post_install() {
+ cat <<EOM
+
+--> Sample config files are installed with .sample extension.
+--> Remember, these are *SAMPLE* config files. You'll need to read
+--> the documentation for more information on how to actually define
+--> services, hosts, etc. to fit your particular needs.
+--> Remenber to include the the http icinga configuration file in the
+--> /etc/httpd/conf/httpd.conf file.
+
+EOM
+
+}
+
+post_remove() {
+
+ userdel icinga
+ groupdel icinga
+
+}