aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-22 21:07:29 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-22 21:07:29 +0000
commitbc3dbd0f8bcaa55472b463378bc7d11e61d5129d (patch)
tree0b5733fd17b845820e17b279d04fa20788e81592
parent9dcc0b09d2c674f345bbfaf7659db3f142721040 (diff)
downloadpuppet-bc3dbd0f8bcaa55472b463378bc7d11e61d5129d.tar
puppet-bc3dbd0f8bcaa55472b463378bc7d11e61d5129d.tar.gz
puppet-bc3dbd0f8bcaa55472b463378bc7d11e61d5129d.tar.bz2
puppet-bc3dbd0f8bcaa55472b463378bc7d11e61d5129d.tar.xz
puppet-bc3dbd0f8bcaa55472b463378bc7d11e61d5129d.zip
change permissions on LocalSettings.php
-rw-r--r--modules/mediawiki/manifests/init.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mediawiki/manifests/init.pp b/modules/mediawiki/manifests/init.pp
index d7e704a4..5f03e26d 100644
--- a/modules/mediawiki/manifests/init.pp
+++ b/modules/mediawiki/manifests/init.pp
@@ -85,6 +85,8 @@ class mediawiki {
file { "$wiki_root/LocalSettings.php":
ensure => present,
+ owner => apache,
+ mode => 600,
content => template("mediawiki/LocalSettings.php"),
# if LocalSettings is created first, the wikicreate script
# do not create a confg directory, and so it doesn't trigger deploy_db exec