aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2017-04-10 11:50:17 +0200
committerOlivier Blin <dev@blino.org>2017-04-12 23:59:19 +0200
commit329c47e4df9e08981e3376081decdb83d500a7d6 (patch)
tree39d63a24e99d35a6086dc58143c587acfa0e11f1 /modules
parent1ccad47db70169b4b4aca8454bd5ffb340a6b398 (diff)
downloadpuppet-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')
-rwxr-xr-xmodules/bugzilla/manifests/init.pp7
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',