]> gitweb.fluxo.info Git - puppet-puppet.git/commitdiff
Avoid suid
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2013 19:16:12 +0000 (17:16 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Jan 2013 19:16:12 +0000 (17:16 -0200)
manifests/master/update.pp

index 36c9828bd91dcc58f03715100b690fce040f184b..f6504824e8985b5e9dcb513883f4b0ea3b35d80c 100644 (file)
@@ -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,
   }