From 18b8da26f9ed976ccb908000014a275899797567 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 2 Jan 2013 14:23:41 +0100 Subject: added service dependency for cron --- manifests/cron/linux.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/cron/linux.pp') 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'] } } -- cgit v1.2.3