aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-24 23:47:42 +0000
committerMichael Scherer <misc@mageia.org>2011-02-24 23:47:42 +0000
commitecce0d65642bf86d6ec15f0a0d291a97cba4ba92 (patch)
tree478976c315e1953aa892c48923430d3c477104a7 /modules/xymon
parentceaa7810af669b84b723d464bc1e23fb7fa89688 (diff)
downloadpuppet-ecce0d65642bf86d6ec15f0a0d291a97cba4ba92.tar
puppet-ecce0d65642bf86d6ec15f0a0d291a97cba4ba92.tar.gz
puppet-ecce0d65642bf86d6ec15f0a0d291a97cba4ba92.tar.bz2
puppet-ecce0d65642bf86d6ec15f0a0d291a97cba4ba92.tar.xz
puppet-ecce0d65642bf86d6ec15f0a0d291a97cba4ba92.zip
- add require on the main package ( as it create the directory holding
the configuration files )
Diffstat (limited to 'modules/xymon')
-rw-r--r--modules/xymon/manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp
index 2ceae8a8..b2a626d0 100644
--- a/modules/xymon/manifests/init.pp
+++ b/modules/xymon/manifests/init.pp
@@ -42,6 +42,7 @@ class xymon {
owner => root,
group => xymon,
mode => 644,
+ require => Package["xymon"],
content => template("xymon/bb-hosts"),
}
@@ -54,6 +55,7 @@ class xymon {
owner => root,
group => xymon,
mode => 644,
+ require => Package["xymon"],
content => template("xymon/hobbit-clients.cfg"),
}
# Configuration for the xymon clients, which log files to process etc.
@@ -63,6 +65,7 @@ class xymon {
owner => root,
group => xymon,
mode => 644,
+ require => Package["xymon"],
content => template("xymon/client-local.cfg"),
}
@@ -73,6 +76,7 @@ class xymon {
owner => root,
group => xymon,
mode => 644,
+ require => Package["xymon"],
content => template("xymon/hobbit-alerts.cfg"),
}
# Most changes should take effect immediately, but sometimes threshold