summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp12
1 files changed, 10 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index f89cbb8..1d17518 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -12,11 +12,19 @@ class munin::host
dir => $NODESDIR,
header => "/etc/munin/munin.conf.header",
}
+
+ file {
+ "/etc/munin/munin.conf.header":
+ source => "/etc/munin/munin.conf",
+ replace => no, # only initialise
+ mode => 0644, owner => root, group => 0,
+ before => File["/etc/munin/munin.conf"];
+ }
file { ["/var/log/munin-update.log", "/var/log/munin-limits.log",
"/var/log/munin-graph.log", "/var/log/munin-html.log"]:
- ensure => present,
- mode => 640, owner => munin, group => root;
+ ensure => present,
+ mode => 640, owner => munin, group => root;
}
}