summaryrefslogtreecommitdiff
path: root/manifests/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/munin.pp')
-rw-r--r--manifests/munin.pp16
1 files changed, 10 insertions, 6 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
index 2a15630..f87a1b5 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -8,14 +8,18 @@ class ejabberd::munin {
munin::plugin{['ejabberd_users','ejabberd_connections','ejabberd_registrations']:
ensure => 'ejabberd_',
require => [ Munin::Plugin::Deploy['ejabberd_'] ],
- config => "env.vhosts ${domains}\ntimeout 30\nuser root\ngroup root";
+ config => "env.vhosts ${domains}";
+ }
+ File {
+ require => Munin::Plugin['ejabberd_registrations'],
+ owner => root,
+ group => 0,
+ mode => '0700',
}
file{
'/etc/cron.daily/ejabberd_registrations':
- source => 'puppet:///modules/ejabberd/munin/ejabberd_registrations.cron',
- require => Munin::Plugin['ejabberd_registrations'],
- owner => root,
- group => 0,
- mode => '0700';
+ source => 'puppet:///modules/ejabberd/munin/ejabberd_registrations.cron';
+ '/etc/cron.d/ejabberd_munin':
+ source => 'puppet:///modules/ejabberd/munin/ejabberd_munin.cron';
}
}