summaryrefslogtreecommitdiff
path: root/manifests/cron
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-02 14:23:41 +0100
committervarac <varacanero@zeromail.org>2013-01-02 14:23:41 +0100
commit18b8da26f9ed976ccb908000014a275899797567 (patch)
tree7d60852e0da67d6e5e17157ecb3724071f62de8b /manifests/cron
parent2a98b04c08087fc27fea067861c3e4fa08af36a7 (diff)
added service dependency for cronpuppet_cron
Diffstat (limited to 'manifests/cron')
-rw-r--r--manifests/cron/linux.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/cron/linux.pp b/manifests/cron/linux.pp
index 33a4535..263dc3f 100644
--- a/manifests/cron/linux.pp
+++ b/manifests/cron/linux.pp
@@ -17,6 +17,7 @@ class puppet::cron::linux inherits puppet::linux {
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",
before => Service['puppet'],
- ensure => present
+ ensure => present,
+ notify => service['cron']
}
}