Andrew Bogott has submitted this change and it was merged.

Change subject: Chown the 'cache' and 'image' dirs to www-data.
......................................................................


Chown the 'cache' and 'image' dirs to www-data.

Change-Id: Ia9193ee50265537217242e363d67210f75d4d840
---
M modules/mediawiki_singlenode/manifests/init.pp
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Andrew Bogott: Verified; Looks good to me, approved



diff --git a/modules/mediawiki_singlenode/manifests/init.pp 
b/modules/mediawiki_singlenode/manifests/init.pp
index 8cba858..4743538 100644
--- a/modules/mediawiki_singlenode/manifests/init.pp
+++ b/modules/mediawiki_singlenode/manifests/init.pp
@@ -136,6 +136,18 @@
                command => '/usr/sbin/service apache2 restart',
        }
 
+       file { "${install_path}/cache":
+               require => Exec["mediawiki_setup"],
+               mode => '0775',
+               owner => 'www-data';
+       }
+
+       file { "${install_path}/images":
+               require => Exec["mediawiki_setup"],
+               mode => '0775',
+               owner => 'www-data';
+       }
+
        file { "${install_path}/LocalSettings.php":
                ensure  => present,
                require => Exec['mediawiki_setup'],

-- 
To view, visit https://gerrit.wikimedia.org/r/60927
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia9193ee50265537217242e363d67210f75d4d840
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to