From 23dc1202b2e30355e1f45f7be882f65db8477053 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Wed, 3 Jun 2009 11:38:08 +0200 Subject: Add initialisation for munin.conf.header --- manifests/host.pp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'manifests') 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; } } -- cgit v1.2.3