diff options
author | Michael Scherer <misc@mageia.org> | 2011-06-16 22:18:00 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-06-16 22:18:00 +0000 |
commit | a0dc2f65935e19a706a9872f13e9dd0271ecf1b0 (patch) | |
tree | e05395798bed7a92e7f534ef45ff83d289b12e70 /modules/mediawiki | |
parent | ab353f5adfb6a4d1dedb462ba9acc14485c05740 (diff) | |
download | puppet-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.pp | 10 |
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') |