summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 17:16:12 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 17:16:12 -0200
commit9d6f04b5fbac460442e7a698e78e95ebf950aca2 (patch)
tree664ed13749cc3cd654121b04d7c51fd24deace51
parent3e02d3109f03ab24bc930887c82b94f3a720ef15 (diff)
downloadpuppet-puppet-9d6f04b5fbac460442e7a698e78e95ebf950aca2.tar.gz
puppet-puppet-9d6f04b5fbac460442e7a698e78e95ebf950aca2.tar.bz2
Avoid suid
-rw-r--r--manifests/master/update.pp10
1 files changed, 2 insertions, 8 deletions
diff --git a/manifests/master/update.pp b/manifests/master/update.pp
index 36c9828..f650482 100644
--- a/manifests/master/update.pp
+++ b/manifests/master/update.pp
@@ -5,14 +5,8 @@ class puppet::master::update(
file { "/usr/local/sbin/update-puppet-conf.sh":
source => "puppet:///modules/puppet/update-puppet-conf.sh",
owner => "puppet",
- group => $method ? {
- 'cron' => "puppet",
- default => "gitolite",
- },
- mode => $method ? {
- 'cron' => 0755,
- default => 4750,
- },
+ group => "puppet",
+ mode => 0750,
ensure => present,
}