diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-19 21:13:10 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-19 21:13:10 +0000 |
commit | 90ef87780b14fa59d94002869b8eb07ab5cabff3 (patch) | |
tree | a8190bfe45ce1c82e853f5c3e1413ab7662a5095 /modules/bugzilla/manifests | |
parent | afee9dc7522923167f71641e186e45dd25d8e71b (diff) | |
download | puppet-90ef87780b14fa59d94002869b8eb07ab5cabff3.tar puppet-90ef87780b14fa59d94002869b8eb07ab5cabff3.tar.gz puppet-90ef87780b14fa59d94002869b8eb07ab5cabff3.tar.bz2 puppet-90ef87780b14fa59d94002869b8eb07ab5cabff3.tar.xz puppet-90ef87780b14fa59d94002869b8eb07ab5cabff3.zip |
clean the module to make puppet-lint happy
Diffstat (limited to 'modules/bugzilla/manifests')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 9e14b017..068b6642 100644 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -1,62 +1,62 @@ class bugzilla { - $bugzilla_location = "/usr/share/bugzilla/template/en/custom" + $bugzilla_location = '/usr/share/bugzilla/template/en/custom' - package { ['bugzilla', - 'graphviz', - 'perl-Template-GD', # needed for graphical_report suppo - 'perl-Test-Taint', - 'perl-JSON-RPC']: } + package {['bugzilla', + 'graphviz', + 'perl-Template-GD', # needed for graphical_report support + 'perl-Test-Taint', + 'perl-JSON-RPC']: } - $pgsql_password = extlookup("bugzilla_pgsql",'x') - $ldap_password = extlookup("bugzilla_ldap",'x') + $pgsql_password = extlookup('bugzilla_pgsql','x') + $ldap_password = extlookup('bugzilla_ldap','x') postgresql::remote_db_and_user { 'bugs': - description => "Bugzilla database", - password => $pgsql_password, + description => 'Bugzilla database', + password => $pgsql_password, } file { '/etc/bugzilla/localconfig': - group => apache, - mode => 640, - content => template("bugzilla/localconfig"), - require => Package[bugzilla], + group => 'apache', + mode => '0640', + content => template('bugzilla/localconfig'), + require => Package['bugzilla'], } file { '/var/lib/bugzilla/params': - group => apache, - mode => 640, - content => template("bugzilla/params"), - require => Package[bugzilla], + group => 'apache', + mode => '0640', + content => template('bugzilla/params'), + require => Package['bugzilla'], } - apache::webapp_other{"bugzilla": - webapp_file => "bugzilla/webapp_bugzilla.conf", + apache::webapp_other { 'bugzilla': + webapp_file => 'bugzilla/webapp_bugzilla.conf', } - $bugs_vhost = "bugs.$domain" - $vhost_root = "/usr/share/bugzilla/www" + $bugs_vhost = "bugs.$::domain" + $vhost_root = '/usr/share/bugzilla/www' - apache::vhost_redirect_ssl { "$bugs_vhost": } + apache::vhost_redirect_ssl { $bugs_vhost: } - apache::vhost_base { "$bugs_vhost": - aliases => { "/bugzilla/" => $vhost_root }, - use_ssl => true, + apache::vhost_base { $bugs_vhost: + aliases => { '/bugzilla/' => $vhost_root }, + use_ssl => true, location => $vhost_root, - vhost => $bugs_vhost, + vhost => $bugs_vhost, } subversion::snapshot { $bugzilla_location: - source => "svn://svn.mageia.org/svn/web/templates/bugzilla/trunk", - require => Package[bugzilla], + source => 'svn://svn.mageia.org/svn/web/templates/bugzilla/trunk', + require => Package['bugzilla'], } - file { "custom": - path => "/usr/share/bugzilla/template/en/custom", - ensure => directory, - group => apache, - mode => 640, + file { 'custom': + ensure => directory, + path => '/usr/share/bugzilla/template/en/custom', + group => 'apache', + mode => '0640', recurse => true, require => Subversion::Snapshot[$bugzilla_location], } |