From a0dc2f65935e19a706a9872f13e9dd0271ecf1b0 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 16 Jun 2011 22:18:00 +0000 Subject: deploy the script to create database --- modules/mediawiki/manifests/init.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules') 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') -- cgit v1.2.1