diff options
author | Olivier Blin <dev@blino.org> | 2017-04-10 11:50:17 +0200 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2017-04-12 23:59:19 +0200 |
commit | 329c47e4df9e08981e3376081decdb83d500a7d6 (patch) | |
tree | 39d63a24e99d35a6086dc58143c587acfa0e11f1 /modules/bugzilla/manifests | |
parent | 1ccad47db70169b4b4aca8454bd5ffb340a6b398 (diff) | |
download | puppet-329c47e4df9e08981e3376081decdb83d500a7d6.tar puppet-329c47e4df9e08981e3376081decdb83d500a7d6.tar.gz puppet-329c47e4df9e08981e3376081decdb83d500a7d6.tar.bz2 puppet-329c47e4df9e08981e3376081decdb83d500a7d6.tar.xz puppet-329c47e4df9e08981e3376081decdb83d500a7d6.zip |
bugzilla: data/bugzilla-update.xml should be writable by apache
But use another config group so that it is not executable.
Diffstat (limited to 'modules/bugzilla/manifests')
-rwxr-xr-x | modules/bugzilla/manifests/init.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 5302f28b..6d12b37f 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -158,6 +158,13 @@ class bugzilla { mode => '0750', } + file { [ + "$bugzilla_location/data/bugzilla-update.xml", + ]: + group => 'apache', + mode => '0640', + } + cron { 'collectstats': command => "$bugzilla_location/bin/collectstats.pl", user => 'apache', |