summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 844698d..286f5ee 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -6,12 +6,19 @@ class munin::host
{
package { [ "munin", "nmap"]: ensure => installed, }
- File <<||>>
+ File <<| tag == 'munin' |>>
concatenated_file { "/etc/munin/munin.conf":
dir => $NODESDIR,
header => "/etc/munin/munin.conf.header",
}
+
+ 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 => 0;
+ }
+
}