diff options
author | David Schmitt <david@schmitt.edv-bus.at> | 2009-06-03 11:38:08 +0200 |
---|---|---|
committer | David Schmitt <david@schmitt.edv-bus.at> | 2009-06-03 11:38:08 +0200 |
commit | 23dc1202b2e30355e1f45f7be882f65db8477053 (patch) | |
tree | 5815bda7cd7abce52cc7e09905ead169520414a6 /manifests | |
parent | c0abb341bfdd1061c85d0349b9a880de6047728f (diff) |
Add initialisation for munin.conf.header
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 12 |
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; } } |