diff options
author | Micah Anderson <micah@riseup.net> | 2013-04-17 15:29:34 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-17 16:09:16 -0400 |
commit | fe7b3b5cc614378e9451640d1fa0e125e022b847 (patch) | |
tree | e96b479e449936f007b88b7d2babfbc86d90341b /manifests/host | |
parent | 8ca2751bbb58358b7e1fb19d0e6e88b2b2654c26 (diff) |
fix dependency on Concat::Fragment['munin.conf.header'], was set to File which would cause this:
err: Failed to apply catalog: Could not find dependency File[/etc/munin/munin.conf.header] for Exec[set_modes_for_cgi] at /etc/puppet/modules/munin/manifests/host/cgi.pp:6
Diffstat (limited to 'manifests/host')
-rw-r--r-- | manifests/host/cgi.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp index 9980856..750c72d 100644 --- a/manifests/host/cgi.pp +++ b/manifests/host/cgi.pp @@ -2,7 +2,7 @@ class munin::host::cgi { exec{'set_modes_for_cgi': command => 'chgrp apache /var/log/munin /var/log/munin/munin-graph.log && chmod g+w /var/log/munin /var/log/munin/munin-graph.log && find /var/www/html/munin/* -maxdepth 1 -type d -exec chgrp -R apache {} \; && find /var/www/html/munin/* -maxdepth 1 -type d -exec chmod -R g+w {} \;', refreshonly => true, - subscribe => File['/etc/munin/munin.conf.header'], + subscribe => Concat::Fragment['munin.conf.header'], } file{'/etc/logrotate.d/munin': |