/[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 2065 - (show annotations) (download)
Sat Oct 22 23:56:56 2011 UTC (12 years, 11 months ago) by boklm
File size: 661 byte(s)
fix typo
1 class wikis {
2 $wikis_root = '/srv/wiki'
3 class { "mediawiki::config":
4 pgsql_password => extlookup("mediawiki_pgsql",'x'),
5 secretkey => extlookup("mediawiki_secretkey",'x'),
6 ldap_password => extlookup('mediawiki_ldap','x'),
7 root => $wikis_root,
8 vhost => false,
9 }
10
11 $wiki_languages = [ 'en', 'fr' ]
12 mediawiki::instance { "en":
13 title => "Mageia wiki",
14 wiki_settings => template('wikis/wiki_settings'),
15 }
16
17 apache::vhost_redirect_ssl { "wiki.$domain": }
18
19 apache::vhost_base { "ssl_wiki.$domain":
20 location => '/dev/null',
21 use_ssl => true,
22 vhost => "wiki.$domain",
23 content => template("wikis/wiki_vhost.conf"),
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30