aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla/manifests/init.pp
blob: 23a24f1e793ef865509f07b789874270a7b2d3e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
class bugzilla {

    package { 'bugzilla':
        ensure => installed;
    }

    $password = extlookup("bugzilla_password")
    $passwordLdap = extlookup("bugzilla_ldap")

    file { '/etc/bugzilla/localconfig':
      ensure => present,
      owner => root,
      group => apache,
      mode => 640,
      content => template("bugzilla/localconfig")
    }


    file { '/var/lib/bugzilla/params':
      ensure => present,
      owner => root,
      group => apache,
      mode => 640,
      content => template("bugzilla/params")
    }

    include apache::mod_fcgid
    apache::webapp_other{"bugzilla":
        webapp_file => "bugzilla/webapp_bugzilla.conf",
      }

    apache::vhost_other_app { "bugs.$domain":
      vhost_file => "bugzilla/vhost_bugs.conf",
    }
}