From ecce0d65642bf86d6ec15f0a0d291a97cba4ba92 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 24 Feb 2011 23:47:42 +0000 Subject: - add require on the main package ( as it create the directory holding the configuration files ) --- modules/xymon/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1