Parent Directory | Revision Log
- 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 | dmorgan | 188 | class bugzilla { |
2 | |||
3 | dmorgan | 291 | package { 'bugzilla': |
4 | dmorgan | 188 | ensure => installed; |
5 | } | ||
6 | |||
7 | misc | 222 | $password = extlookup("bugzilla_password") |
8 | dmorgan | 254 | $passwordLdap = extlookup("bugzilla_ldap") |
9 | |||
10 | dmorgan | 188 | file { '/etc/bugzilla/localconfig': |
11 | dmorgan | 254 | ensure => present, |
12 | owner => root, | ||
13 | misc | 340 | group => apache, |
14 | mode => 640, | ||
15 | dmorgan | 254 | content => template("bugzilla/localconfig") |
16 | dmorgan | 188 | } |
17 | |||
18 | dmorgan | 254 | |
19 | file { '/var/lib/bugzilla/params': | ||
20 | ensure => present, | ||
21 | owner => root, | ||
22 | misc | 340 | group => apache, |
23 | mode => 640, | ||
24 | dmorgan | 254 | content => template("bugzilla/params") |
25 | } | ||
26 | dmorgan | 289 | |
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 | misc | 340 | vhost_file => "bugzilla/vhost_bugs.conf", |
34 | dmorgan | 289 | } |
35 | dmorgan | 188 | } |
36 |
ViewVC Help | |
Powered by ViewVC 1.1.30 |