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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 340 - (show annotations) (download)
Sat Nov 20 11:52:54 2010 UTC (13 years, 5 months ago) by misc
File size: 775 byte(s)
- do not let file with passwords to be world readable 
    ( even if being readable by apache is not good either, but needed as the password is used by apache )
- use ldaps for sympa
- use the 2 new facter macro and remove the version copied everywhere
- remove hardcoded domain in bugzilla and others

1 class bugzilla {
2
3 package { 'bugzilla':
4 ensure => installed;
5 }
6
7 $password = extlookup("bugzilla_password")
8 $passwordLdap = extlookup("bugzilla_ldap")
9
10 file { '/etc/bugzilla/localconfig':
11 ensure => present,
12 owner => root,
13 group => apache,
14 mode => 640,
15 content => template("bugzilla/localconfig")
16 }
17
18
19 file { '/var/lib/bugzilla/params':
20 ensure => present,
21 owner => root,
22 group => apache,
23 mode => 640,
24 content => template("bugzilla/params")
25 }
26
27 include apache::mod_fcgid
28 apache::webapp_other{"bugzilla":
29 webapp_file => "bugzilla/webapp_bugzilla.conf",
30 }
31
32 apache::vhost_other_app { "bugs.$domain":
33 vhost_file => "bugzilla/vhost_bugs.conf",
34 }
35 }
36

  ViewVC Help
Powered by ViewVC 1.1.30