/[adm]/puppet/deployment/wikis/manifests/init.pp
ViewVC logotype

Contents of /puppet/deployment/wikis/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3236 - (show annotations) (download)
Sat Jun 8 12:34:09 2013 UTC (10 years, 8 months ago) by boklm
File size: 972 byte(s)
Add fr wiki
1 class wikis {
2 $wikis_root = '/srv/wiki'
3 $wikis_templates = '/srv/wiki-templates'
4 class { 'mediawiki::config':
5 pgsql_password => extlookup('mediawiki_pgsql','x'),
6 secretkey => extlookup('mediawiki_secretkey','x'),
7 ldap_password => extlookup('mediawiki_ldap','x'),
8 root => $wikis_root,
9 vhost => false,
10 }
11
12 subversion::snapshot { $wikis_templates:
13 source => "svn://svn.$::domain/svn/web/templates/mediawiki"
14 }
15
16 $wiki_languages = [ 'en','de', 'fr' ]
17 mediawiki::instance { $wiki_languages:
18 title => 'Mageia wiki',
19 wiki_settings => template('wikis/wiki_settings'),
20 skinsdir => "$wikis_templates/skins",
21 }
22
23 apache::vhost::redirect_ssl { "wiki.$::domain": }
24
25 apache::vhost::base { "ssl_wiki.$::domain":
26 use_ssl => true,
27 vhost => "wiki.$::domain",
28 content => template('wikis/wiki_vhost.conf'),
29 }
30 }

  ViewVC Help
Powered by ViewVC 1.1.30