From 87ea600080cc4addeb71a6e65803cd469681795f Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Mon, 28 Mar 2011 20:50:27 -0700 Subject: percent is magic in crontabs and needs to be escaped --- manifests/cron/linux.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], } } -- cgit v1.2.3