aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-16 22:18:00 +0000
committerMichael Scherer <misc@mageia.org>2011-06-16 22:18:00 +0000
commita0dc2f65935e19a706a9872f13e9dd0271ecf1b0 (patch)
treee05395798bed7a92e7f534ef45ff83d289b12e70 /modules/mediawiki
parentab353f5adfb6a4d1dedb462ba9acc14485c05740 (diff)
downloadpuppet-a0dc2f65935e19a706a9872f13e9dd0271ecf1b0.tar
puppet-a0dc2f65935e19a706a9872f13e9dd0271ecf1b0.tar.gz
puppet-a0dc2f65935e19a706a9872f13e9dd0271ecf1b0.tar.bz2
puppet-a0dc2f65935e19a706a9872f13e9dd0271ecf1b0.tar.xz
puppet-a0dc2f65935e19a706a9872f13e9dd0271ecf1b0.zip
deploy the script to create database
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/manifests/init.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/mediawiki/manifests/init.pp b/modules/mediawiki/manifests/init.pp
index 1058e499..be4bf6c5 100644
--- a/modules/mediawiki/manifests/init.pp
+++ b/modules/mediawiki/manifests/init.pp
@@ -12,7 +12,15 @@ class mediawiki {
file { $root:
ensure => directory,
}
-
+
+ file { "/usr/local/bin/init_wiki.php":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ source => 'puppet:///modules/mediawiki/init_wiki.php',
+ }
+
$user = "mediawiki"
$pgsql_password = extlookup("mediawiki_pgsql",'x')