/[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 478 - (hide annotations) (download)
Fri Nov 26 15:20:50 2010 UTC (13 years, 4 months ago) by dmorgan
File size: 1140 byte(s)
requires the svn snapshot
1 dmorgan 188 class bugzilla {
2    
3 dmorgan 477 $bugzilla_location = "/usr/share/bugzilla/template/en/custom"
4    
5 dmorgan 291 package { 'bugzilla':
6 dmorgan 188 ensure => installed;
7     }
8    
9 misc 378 $password = extlookup("bugzilla_password",'x')
10     $passwordLdap = extlookup("bugzilla_ldap",'x')
11 dmorgan 254
12 dmorgan 188 file { '/etc/bugzilla/localconfig':
13 dmorgan 254 ensure => present,
14     owner => root,
15 misc 340 group => apache,
16     mode => 640,
17 dmorgan 254 content => template("bugzilla/localconfig")
18 dmorgan 188 }
19    
20 dmorgan 254
21     file { '/var/lib/bugzilla/params':
22     ensure => present,
23     owner => root,
24 misc 340 group => apache,
25     mode => 640,
26 dmorgan 254 content => template("bugzilla/params")
27     }
28 dmorgan 289
29     apache::webapp_other{"bugzilla":
30     webapp_file => "bugzilla/webapp_bugzilla.conf",
31     }
32    
33     apache::vhost_other_app { "bugs.$domain":
34 misc 340 vhost_file => "bugzilla/vhost_bugs.conf",
35 dmorgan 289 }
36 dmorgan 188
37 dmorgan 478 file { "custom":
38     path => "/usr/share/bugzilla/template/en/custom",
39     ensure => directory,
40     owner => root,
41     group => apache,
42     mode => 700,
43     recurse => true
44     }
45    
46 dmorgan 477 subversion::snapshot { $bugzilla_location:
47     source => "svn://svn.mageia.org/svn/web/templates/bugzilla/trunk"
48     }
49 dmorgan 478 }

  ViewVC Help
Powered by ViewVC 1.1.30