aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/wikis
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-24 18:14:29 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-24 18:14:29 +0000
commit9d782d50658815cb2589d546dc1e48e9b8e0d69d (patch)
tree9cc767871567d5e55d0dad5fe464bc609ed33be2 /deployment/wikis
parentc8089314a0b4467ea00f7420a4cb9f7c6f028dfc (diff)
downloadpuppet-9d782d50658815cb2589d546dc1e48e9b8e0d69d.tar
puppet-9d782d50658815cb2589d546dc1e48e9b8e0d69d.tar.gz
puppet-9d782d50658815cb2589d546dc1e48e9b8e0d69d.tar.bz2
puppet-9d782d50658815cb2589d546dc1e48e9b8e0d69d.tar.xz
puppet-9d782d50658815cb2589d546dc1e48e9b8e0d69d.zip
checkout mediawiki templates
Diffstat (limited to 'deployment/wikis')
-rw-r--r--deployment/wikis/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/deployment/wikis/manifests/init.pp b/deployment/wikis/manifests/init.pp
index 7769c934..b2427413 100644
--- a/deployment/wikis/manifests/init.pp
+++ b/deployment/wikis/manifests/init.pp
@@ -1,5 +1,6 @@
class wikis {
$wikis_root = '/srv/wiki'
+ $wikis_templates = '/srv/wiki-templates'
class { "mediawiki::config":
pgsql_password => extlookup("mediawiki_pgsql",'x'),
secretkey => extlookup("mediawiki_secretkey",'x'),
@@ -8,6 +9,10 @@ class wikis {
vhost => false,
}
+ subversion::snapshot { $wikis_templates:
+ source => "svn://svn.$domain/svn/web/templates/mediawiki'
+ }
+
$wiki_languages = [ 'en', 'fr' ]
mediawiki::instance { "en":
title => "Mageia wiki",