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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2075 - (hide annotations) (download)
Mon Oct 24 18:23:58 2011 UTC (12 years, 11 months ago) by boklm
File size: 850 byte(s)
remove fr from languages
1 misc 1740 class wikis {
2 boklm 2064 $wikis_root = '/srv/wiki'
3 boklm 2071 $wikis_templates = '/srv/wiki-templates'
4 boklm 2032 class { "mediawiki::config":
5     pgsql_password => extlookup("mediawiki_pgsql",'x'),
6     secretkey => extlookup("mediawiki_secretkey",'x'),
7     ldap_password => extlookup('mediawiki_ldap','x'),
8 boklm 2064 root => $wikis_root,
9     vhost => false,
10 boklm 2032 }
11    
12 boklm 2071 subversion::snapshot { $wikis_templates:
13 boklm 2073 source => "svn://svn.$domain/svn/web/templates/mediawiki"
14 boklm 2071 }
15    
16 boklm 2075 $wiki_languages = [ 'en' ]
17 misc 1740 mediawiki::instance { "en":
18     title => "Mageia wiki",
19 boklm 2054 wiki_settings => template('wikis/wiki_settings'),
20 boklm 2074 skinsdir => "$wikis_templates/skins",
21 misc 1740 }
22 boklm 2064
23     apache::vhost_redirect_ssl { "wiki.$domain": }
24    
25     apache::vhost_base { "ssl_wiki.$domain":
26     location => '/dev/null',
27     use_ssl => true,
28     vhost => "wiki.$domain",
29 boklm 2065 content => template("wikis/wiki_vhost.conf"),
30 boklm 2064 }
31 misc 1740 }

  ViewVC Help
Powered by ViewVC 1.1.30