1 |
class bugzilla { |
class bugzilla { |
2 |
|
|
3 |
$bugzilla_location = "/usr/share/bugzilla/template/en/custom" |
$bugzilla_location = "/usr/share/bugzilla/template/en/custom" |
4 |
|
|
5 |
package { ['bugzilla','graphviz']: } |
package { ['bugzilla','graphviz', 'perl-Test-Taint', 'perl-JSON-RPC']: } |
|
|
|
|
package { 'perl-Test-Taint': } |
|
|
|
|
|
package { 'perl-JSON-RPC': } |
|
6 |
|
|
7 |
$pgsql_password = extlookup("bugzilla_pgsql",'x') |
$pgsql_password = extlookup("bugzilla_pgsql",'x') |
8 |
$ldap_password = extlookup("bugzilla_ldap",'x') |
$ldap_password = extlookup("bugzilla_ldap",'x') |
13 |
} |
} |
14 |
|
|
15 |
file { '/etc/bugzilla/localconfig': |
file { '/etc/bugzilla/localconfig': |
|
ensure => present, |
|
|
owner => root, |
|
16 |
group => apache, |
group => apache, |
17 |
mode => 640, |
mode => 640, |
18 |
content => template("bugzilla/localconfig"), |
content => template("bugzilla/localconfig"), |
21 |
|
|
22 |
|
|
23 |
file { '/var/lib/bugzilla/params': |
file { '/var/lib/bugzilla/params': |
|
ensure => present, |
|
|
owner => root, |
|
24 |
group => apache, |
group => apache, |
25 |
mode => 640, |
mode => 640, |
26 |
content => template("bugzilla/params"), |
content => template("bugzilla/params"), |
51 |
file { "custom": |
file { "custom": |
52 |
path => "/usr/share/bugzilla/template/en/custom", |
path => "/usr/share/bugzilla/template/en/custom", |
53 |
ensure => directory, |
ensure => directory, |
|
owner => root, |
|
54 |
group => apache, |
group => apache, |
55 |
mode => 640, |
mode => 640, |
56 |
recurse => true, |
recurse => true, |