Andrew Bogott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60927
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/27/60927/1
diff --git a/modules/mediawiki_singlenode/manifests/init.pp
b/modules/mediawiki_singlenode/manifests/init.pp
index 4d4a3ea..71758e5 100644
--- a/modules/mediawiki_singlenode/manifests/init.pp
+++ b/modules/mediawiki_singlenode/manifests/init.pp
@@ -107,6 +107,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":
require => Exec["mediawiki_setup"],
content => template('mediawiki_singlenode/labs-localsettings'),
--
To view, visit https://gerrit.wikimedia.org/r/60927
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9193ee50265537217242e363d67210f75d4d840
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits