diff options
Diffstat (limited to 'modules/bugzilla/manifests/init.pp')
-rwxr-xr-x | modules/bugzilla/manifests/init.pp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index c03b1a6a..e66ddf0e 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -83,7 +83,8 @@ class bugzilla { require => Git::Snapshot[$bugzilla_location], } - file { "$bugzilla_location/data": + file { ["$bugzilla_location/data", + "$bugzilla_location/data/mining"]: ensure => directory, owner => 'apache', group => 'apache', @@ -99,8 +100,7 @@ class bugzilla { file { "$bugzilla_location/robots.txt": group => 'apache', - mode => '0640', - content => template('bugzilla/robots.txt') + mode => '0640' } file { "$bugzilla_location/data/bugzilla-update.xml": @@ -109,7 +109,6 @@ class bugzilla { mode => '0640' } - file { [ "$bugzilla_location/admin.cgi", "$bugzilla_location/attachment.cgi", @@ -179,12 +178,13 @@ class bugzilla { mode => '0750', } - cron { 'collectstats': - command => "cd $bugzilla_location && ./collectstats.pl", - user => 'apache', - hour => 2, - minute => 30, - } +# Improper file permissions makes this fail, and nobody seems to care +# cron { 'collectstats': +# command => "cd $bugzilla_location && ./collectstats.pl", +# user => 'apache', +# hour => 2, +# minute => 30, +# } cron { 'clean-bug-user-last-visit': command => "cd $bugzilla_location && ./clean-bug-user-last-visit.pl", |