summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/puppetd.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp
index c878ff4..0cd7434 100644
--- a/manifests/puppetd.pp
+++ b/manifests/puppetd.pp
@@ -43,7 +43,7 @@ class puppetd inherits puppet {
# cron rule to restart puppet minutes after puppetmaster is restarted
cron { "puppet-restart":
- command => "/etc/init.d/puppet restart &> /dev/null",
+ command => "/etc/init.d/puppet restart > /dev/null 2>&1",
user => root,
hour => "*/1",
minute => "10",
@@ -60,7 +60,7 @@ class puppetd inherits puppet {
}
cron { "puppetd-check":
- command => "/usr/local/sbin/check-puppetd.sh &> /dev/null",
+ command => "/usr/local/sbin/check-puppetd.sh > /dev/null 2>&1",
user => root,
hour => "*/1",
minute => "0",