From fe7b3b5cc614378e9451640d1fa0e125e022b847 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 17 Apr 2013 15:29:34 -0400 Subject: 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 --- manifests/host/cgi.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/host/cgi.pp') 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': -- cgit v1.2.3