summaryrefslogtreecommitdiff
path: root/manifests/cron
diff options
context:
space:
mode:
authorMatt Taggart <taggart@lackof.org>2011-03-28 20:50:27 -0700
committerMatt Taggart <taggart@lackof.org>2011-03-28 20:50:27 -0700
commit87ea600080cc4addeb71a6e65803cd469681795f (patch)
tree50290f16fc4ccf1f220aa49a339d842f634b918f /manifests/cron
parentba69bf9da07e719bf3e514f45ecc38947e7826d9 (diff)
percent is magic in crontabs and needs to be escaped
Diffstat (limited to 'manifests/cron')
-rw-r--r--manifests/cron/linux.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/cron/linux.pp b/manifests/cron/linux.pp
index c0d264e..4c3a643 100644
--- a/manifests/cron/linux.pp
+++ b/manifests/cron/linux.pp
@@ -14,7 +14,7 @@ class puppet::cron::linux inherits puppet::linux {
File['/etc/cron.d/puppetd.cron']{
source => undef,
- content => "#run puppet\n$puppet_crontime root output=\$(/usr/sbin/puppetd --onetime --no-daemonize --splay --config=/etc/puppet/puppet.conf --color false); ret=\$?; printf \"%s\" \"\$output\" | grep -E '(^err:|^alert:|^emerg:|^crit:)'; exit \$ret\n",
+ content => "#run puppet\n$puppet_crontime root output=\$(/usr/sbin/puppetd --onetime --no-daemonize --splay --config=/etc/puppet/puppet.conf --color false); ret=\$?; printf \"\%s\" \"\$output\" | grep -E '(^err:|^alert:|^emerg:|^crit:)'; exit \$ret\n",
before => Service['puppet'],
}
}