Mercurial > repos > other > Puppet
changeset 268:9f054191b9db
Filter new log line from puppet-apply output
Two lines were enough to prevent emails on normal runs. Now it
needs the third string to filter "normal" lines.
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 29 Dec 2019 21:00:27 +0000 |
parents | edeedd13262c |
children | 670e933bbd63 |
files | manifests/templates.pp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/manifests/templates.pp Sun Dec 29 20:56:00 2019 +0000 +++ b/manifests/templates.pp Sun Dec 29 21:00:27 2019 +0000 @@ -802,7 +802,7 @@ } # Since we're only managing the local server, use our script that wraps "puppet apply" instead of PuppetMaster cron { 'puppet': - command => '/usr/local/bin/puppet-apply | grep -v "Compiled catalog for\|Finished catalog run in"', + command => '/usr/local/bin/puppet-apply | grep -v "Compiled catalog for\|Finished catalog run in\|Applied catalog in"', hour => '*/6', minute => 5 }