summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetmasterd.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/puppetmasterd.pp b/manifests/puppetmasterd.pp
index f3d242d..d574c8d 100644
--- a/manifests/puppetmasterd.pp
+++ b/manifests/puppetmasterd.pp
@@ -80,7 +80,7 @@ class puppetmasterd {
# cron rule to update puppet config repository every 5 minutes
cron { "puppet-update":
- command => "/usr/local/sbin/update-puppet-conf.sh &> /dev/null",
+ command => "/usr/local/sbin/update-puppet-conf.sh > /dev/null 2>&1",
user => puppet,
minute => "*/5",
ensure => present,
@@ -99,7 +99,7 @@ class puppetmasterd {
# cron rule to restart puppetmaster before restarting the nodes
cron { "puppetmaster-restart":
- command => "/etc/init.d/puppetmaster restart &> /dev/null",
+ command => "/etc/init.d/puppetmaster restart > /dev/null 2>&1",
user => root,
hour => "*/1",
minute => "0",