/[adm]/puppet/modules/bugzilla/manifests/init.pp
ViewVC logotype

Annotation of /puppet/modules/bugzilla/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2482 - (hide annotations) (download)
Sun Mar 11 22:01:59 2012 UTC (12 years, 1 month ago) by misc
File size: 1615 byte(s)
put each rpm on a different line, better to look at diff
1 dmorgan 188 class bugzilla {
2    
3 misc 2217 $bugzilla_location = "/usr/share/bugzilla/template/en/custom"
4 dmorgan 477
5 misc 2482 package { ['bugzilla',
6     'graphviz',
7     'perl-Test-Taint',
8     'perl-JSON-RPC']: }
9 dmorgan 188
10 misc 624 $pgsql_password = extlookup("bugzilla_pgsql",'x')
11     $ldap_password = extlookup("bugzilla_ldap",'x')
12 dmorgan 254
13 misc 1356 postgresql::remote_db_and_user { 'bugs':
14     description => "Bugzilla database",
15 misc 626 password => $pgsql_password,
16     }
17    
18 dmorgan 188 file { '/etc/bugzilla/localconfig':
19 misc 340 group => apache,
20     mode => 640,
21 misc 1956 content => template("bugzilla/localconfig"),
22     require => Package[bugzilla],
23 dmorgan 188 }
24    
25 dmorgan 254
26     file { '/var/lib/bugzilla/params':
27 misc 340 group => apache,
28     mode => 640,
29 misc 1958 content => template("bugzilla/params"),
30 misc 1956 require => Package[bugzilla],
31 dmorgan 254 }
32 dmorgan 289
33     apache::webapp_other{"bugzilla":
34     webapp_file => "bugzilla/webapp_bugzilla.conf",
35 misc 1049 }
36 dmorgan 289
37 misc 1049 $bugs_vhost = "bugs.$domain"
38     $vhost_root = "/usr/share/bugzilla/www"
39    
40 misc 1050 apache::vhost_redirect_ssl { "$bugs_vhost": }
41 misc 1049
42     apache::vhost_base { "$bugs_vhost":
43 misc 1848 aliases => { "/bugzilla/" => $vhost_root },
44 misc 1049 use_ssl => true,
45     location => $vhost_root,
46     vhost => $bugs_vhost,
47 dmorgan 289 }
48 misc 1049
49 dmorgan 480 subversion::snapshot { $bugzilla_location:
50 misc 1956 source => "svn://svn.mageia.org/svn/web/templates/bugzilla/trunk",
51     require => Package[bugzilla],
52 dmorgan 480 }
53 dmorgan 188
54 dmorgan 478 file { "custom":
55     path => "/usr/share/bugzilla/template/en/custom",
56     ensure => directory,
57     group => apache,
58 dmorgan 480 mode => 640,
59 dmorgan 479 recurse => true,
60 misc 1958 require => Subversion::Snapshot[$bugzilla_location],
61 dmorgan 478 }
62     }

  ViewVC Help
Powered by ViewVC 1.1.30