summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-12-01 13:25:56 +0100
committermh <mh@immerda.ch>2012-12-01 13:25:56 +0100
commitb6396f5a1ebb2221e00ee2f9fa0fb11f317bb7df (patch)
tree1643838b26542d4659fb85eba3698f3009d95a1e
parentcc06c35787d5ad3145f3e7849a6640d141e996e4 (diff)
downloadpuppet-ejabberd-b6396f5a1ebb2221e00ee2f9fa0fb11f317bb7df.tar.gz
puppet-ejabberd-b6396f5a1ebb2221e00ee2f9fa0fb11f317bb7df.tar.bz2
workaround a possible scoping bug in puppet
-rw-r--r--manifests/munin.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
index f87a1b5..8809a8d 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -11,15 +11,16 @@ class ejabberd::munin {
config => "env.vhosts ${domains}";
}
File {
- require => Munin::Plugin['ejabberd_registrations'],
owner => root,
group => 0,
mode => '0700',
}
file{
'/etc/cron.daily/ejabberd_registrations':
+ require => Munin::Plugin['ejabberd_registrations'],
source => 'puppet:///modules/ejabberd/munin/ejabberd_registrations.cron';
'/etc/cron.d/ejabberd_munin':
+ require => Munin::Plugin['ejabberd_registrations'],
source => 'puppet:///modules/ejabberd/munin/ejabberd_munin.cron';
}
}