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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2063 by boklm, Sat Oct 22 21:22:56 2011 UTC revision 2064 by boklm, Sat Oct 22 23:55:54 2011 UTC
# Line 1  Line 1 
1  class wikis {  class wikis {
2        $wikis_root = '/srv/wiki'
3      class { "mediawiki::config":      class { "mediawiki::config":
4          pgsql_password => extlookup("mediawiki_pgsql",'x'),          pgsql_password => extlookup("mediawiki_pgsql",'x'),
5          secretkey => extlookup("mediawiki_secretkey",'x'),          secretkey => extlookup("mediawiki_secretkey",'x'),
6          ldap_password => extlookup('mediawiki_ldap','x'),          ldap_password => extlookup('mediawiki_ldap','x'),
7            root => $wikis_root,
8            vhost => false,
9      }      }
10    
11        $wiki_languages = [ 'en', 'fr' ]
12      mediawiki::instance { "en":      mediawiki::instance { "en":
13          title => "Mageia wiki",          title => "Mageia wiki",
14          wiki_settings => template('wikis/wiki_settings'),          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("wiki/wiki_vhost.conf"),
24        }
25  }  }

Legend:
Removed from v.2063  
changed lines
  Added in v.2064

  ViewVC Help
Powered by ViewVC 1.1.30