summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-03-29 14:47:43 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-03-29 14:47:43 +0000
commita969b61bab854b4c4a9bb7f216073dd426514f73 (patch)
treeee1cde85dca47521f9bb57d77eb404416f101d73 /manifests
parentef97c202ad675255deb20bdfce59fe03ad757a63 (diff)
merged munin-module with davids
git-svn-id: https://svn/ipuppet/trunk/modules/munin@1143 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp1
-rw-r--r--manifests/host.pp9
2 files changed, 9 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index dbf175a..c81e6f4 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -74,6 +74,7 @@ define munin::register_snmp()
@@file { "munin_snmp_${name}": path => "${NODESDIR}/${name}",
ensure => present,
content => template("munin/snmpclient.erb"),
+ tag => 'munin',
}
}
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;
+ }
+
}