summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-03-28 18:19:42 -0400
committerMicah Anderson <micah@riseup.net>2011-03-28 18:19:42 -0400
commitba69bf9da07e719bf3e514f45ecc38947e7826d9 (patch)
tree15a8dcd3f372905b19c080dfa9c292ee0a5afb2f /manifests
parent299c7e4fa7c5d2b41826d87c478c4ba4c5329c48 (diff)
need to escape the $ in the variables
Diffstat (limited to 'manifests')
-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 15adb65..c0d264e 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'],
}
}