From 3f4397fcccb9fad7f5e12e01899bdeb77885a676 Mon Sep 17 00:00:00 2001 From: Matthieu Faure <mfaure@asqatasun.org> Date: Mon, 18 Mar 2019 16:40:33 +0100 Subject: [PATCH] disable permissions management on logs/ dir as Apache already does it --- manifests/init.pp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 6a24117..9c21e15 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -143,15 +143,16 @@ class comptoir ( recurse => true, require => Exec['Install app with Composer'], } - file { 'Comptoir logs/': - ensure => directory, - path => "${comptoir_dir}/logs", - mode => '0755', - owner => $apache_user, - group => $comptoir_user, - recurse => true, - require => Exec['Install app with Composer'], + # file { 'Comptoir logs/': + # ensure => directory, + # path => "${comptoir_dir}/logs", + # mode => '0755', + # owner => $apache_user, + # group => $comptoir_user, + # recurse => true, + # require => Exec['Install app with Composer'], } + # TODO: find "Comptoir-srv/$i" -type f -exec sudo chmod 664 {} \; } -- GitLab