From fc87d3ece441136413cb53c1161a8e5030fe78a5 Mon Sep 17 00:00:00 2001 From: Ger Apeldoorn Date: Mon, 9 Jul 2018 14:05:46 +0200 Subject: [PATCH] Make recurse optional Checking permissions takes too long. --- manifests/instance/app.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/instance/app.pp b/manifests/instance/app.pp index 1635199..04379c2 100644 --- a/manifests/instance/app.pp +++ b/manifests/instance/app.pp @@ -71,7 +71,7 @@ if ! defined(File[$install_dir]) { file { $install_dir: ensure => directory, - recurse => true, + recurse => $wp_content_recurse, } } else { notice("Warning: cannot manage the permissions of ${install_dir}, as another resource (perhaps apache::vhost?) is managing it.")