/[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 1958 - (hide annotations) (download)
Thu Aug 18 00:22:13 2011 UTC (12 years, 8 months ago) by misc
File size: 1809 byte(s)
fix missing comma, causing syntax error on alamut
1 dmorgan 188 class bugzilla {
2    
3 dmorgan 477 $bugzilla_location = "/usr/share/bugzilla/template/en/custom"
4    
5 misc 1851 package { ['bugzilla','graphviz']:
6 dmorgan 188 ensure => installed;
7     }
8    
9 dmorgan 649 package { 'perl-Test-Taint':
10     ensure => installed;
11     }
12    
13 dmorgan 1028 package { 'perl-JSON-RPC':
14     ensure => installed;
15     }
16    
17 misc 624 $pgsql_password = extlookup("bugzilla_pgsql",'x')
18     $ldap_password = extlookup("bugzilla_ldap",'x')
19 dmorgan 254
20 misc 1356 postgresql::remote_db_and_user { 'bugs':
21     description => "Bugzilla database",
22 misc 626 password => $pgsql_password,
23     }
24    
25 dmorgan 188 file { '/etc/bugzilla/localconfig':
26 dmorgan 254 ensure => present,
27     owner => root,
28 misc 340 group => apache,
29     mode => 640,
30 misc 1956 content => template("bugzilla/localconfig"),
31     require => Package[bugzilla],
32 dmorgan 188 }
33    
34 dmorgan 254
35     file { '/var/lib/bugzilla/params':
36     ensure => present,
37     owner => root,
38 misc 340 group => apache,
39     mode => 640,
40 misc 1958 content => template("bugzilla/params"),
41 misc 1956 require => Package[bugzilla],
42 dmorgan 254 }
43 dmorgan 289
44     apache::webapp_other{"bugzilla":
45     webapp_file => "bugzilla/webapp_bugzilla.conf",
46 misc 1049 }
47 dmorgan 289
48 misc 1049 $bugs_vhost = "bugs.$domain"
49     $vhost_root = "/usr/share/bugzilla/www"
50    
51 misc 1050 apache::vhost_redirect_ssl { "$bugs_vhost": }
52 misc 1049
53     apache::vhost_base { "$bugs_vhost":
54 misc 1848 aliases => { "/bugzilla/" => $vhost_root },
55 misc 1049 use_ssl => true,
56     location => $vhost_root,
57     vhost => $bugs_vhost,
58 dmorgan 289 }
59 misc 1049
60 dmorgan 480 subversion::snapshot { $bugzilla_location:
61 misc 1956 source => "svn://svn.mageia.org/svn/web/templates/bugzilla/trunk",
62     require => Package[bugzilla],
63 dmorgan 480 }
64 dmorgan 188
65 dmorgan 478 file { "custom":
66     path => "/usr/share/bugzilla/template/en/custom",
67     ensure => directory,
68     owner => root,
69     group => apache,
70 dmorgan 480 mode => 640,
71 dmorgan 479 recurse => true,
72 misc 1958 require => Subversion::Snapshot[$bugzilla_location],
73 dmorgan 478 }
74     }

  ViewVC Help
Powered by ViewVC 1.1.30