diff options
author | Dan Fandrich <danf@mageia.org> | 2025-06-27 14:05:00 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2025-06-27 14:14:07 -0700 |
commit | b8d8946a031b8fdd6faefc270f69ca89d4f2c8dd (patch) | |
tree | 24324acf31d84b685e9697e31aaf3f506a1a296a /modules/bugzilla/manifests/init.pp | |
parent | b84c02112b0018b612291a2b4692803741e8a6ad (diff) | |
download | puppet-b8d8946a031b8fdd6faefc270f69ca89d4f2c8dd.tar puppet-b8d8946a031b8fdd6faefc270f69ca89d4f2c8dd.tar.gz puppet-b8d8946a031b8fdd6faefc270f69ca89d4f2c8dd.tar.bz2 puppet-b8d8946a031b8fdd6faefc270f69ca89d4f2c8dd.tar.xz puppet-b8d8946a031b8fdd6faefc270f69ca89d4f2c8dd.zip |
Disable the Bugzilla collectstats.pl script
This fails with "Unable to open the chart datafile ./data/mining/0."
because that file isn't writable by apache. Rather than trying to fix
those permissions, just disable the script since nobody seems to be
using whatever statistics are being collected ("data about bugs to be
used in Old and New Charts").
This page has some information about the problem:
https://serverfault.com/questions/182139
Diffstat (limited to 'modules/bugzilla/manifests/init.pp')
-rwxr-xr-x | modules/bugzilla/manifests/init.pp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 5da26c07..e66ddf0e 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -178,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", |