summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-03-29 14:47:43 +0000
committermh <mh@immerda.ch>2008-03-29 14:47:43 +0000
commit2051940e6d88d1c7d04df289c0d4873c04dbe020 (patch)
treeee1cde85dca47521f9bb57d77eb404416f101d73 /manifests/host.pp
parent14105f0629c105ffe276807fc2c6adfe84fbdac7 (diff)
merged munin-module with davids
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;
+ }
+
}