From ce3f6d084675ed779a015ffb94f5ac0863c3fda9 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Jan 2015 01:45:18 +0100 Subject: [PATCH] Prevent 'is already declared in file' error on compilation --- manifests/config.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/config.pp b/manifests/config.pp index bc4d8dc..9f3cc51 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -39,7 +39,7 @@ } # Cleans up configs not managed by php5-fpm module - exec { 'cleanup-pool': + exec { "cleanup-pool-$name": cwd => '/etc/php5/fpm/pool.d', path => "/usr/bin:/usr/sbin:/bin", command => "find -name '[^0-9]*.conf' -exec rm {} +",