1 |
class wikis { |
class wikis { |
2 |
$wikis_root = '/srv/wiki' |
$wikis_root = '/srv/wiki' |
3 |
|
$wikis_templates = '/srv/wiki-templates' |
4 |
class { "mediawiki::config": |
class { "mediawiki::config": |
5 |
pgsql_password => extlookup("mediawiki_pgsql",'x'), |
pgsql_password => extlookup("mediawiki_pgsql",'x'), |
6 |
secretkey => extlookup("mediawiki_secretkey",'x'), |
secretkey => extlookup("mediawiki_secretkey",'x'), |
9 |
vhost => false, |
vhost => false, |
10 |
} |
} |
11 |
|
|
12 |
|
subversion::snapshot { $wikis_templates: |
13 |
|
source => "svn://svn.$domain/svn/web/templates/mediawiki' |
14 |
|
} |
15 |
|
|
16 |
$wiki_languages = [ 'en', 'fr' ] |
$wiki_languages = [ 'en', 'fr' ] |
17 |
mediawiki::instance { "en": |
mediawiki::instance { "en": |
18 |
title => "Mageia wiki", |
title => "Mageia wiki", |