summaryrefslogtreecommitdiff
path: root/manifests/cron
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-03-29 17:27:43 -0400
committerMicah Anderson <micah@riseup.net>2011-03-29 17:27:43 -0400
commit3bcfd81f64f504cb9be05ccdb8b81652ff872d0f (patch)
treeee847bb4022c191a77b019a0cbf6803c01096d84 /manifests/cron
parent87ea600080cc4addeb71a6e65803cd469681795f (diff)
the % needs to be double-escaped so puppet doesn't complain like this:
Mar 29 14:08:23 puppetmaster puppet-master[26637]: Unrecognised escape sequence '\%' in file /etc/puppet/modules/puppet/manifests/cron/linux.pp at line 17
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 4c3a643..bab9564 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'],
}
}