diff --git a/CHANGELOG.md b/CHANGELOG.md index 338fc12..3e4b70c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ * Fix for Puppet 4 AIO which does not include puppet user or group. +* Properly silence cron-repuppet when no errors happen. #### 2017-02-02 - 1.0.1 * Fix repuppet PATH with Puppet Collections agent. diff --git a/manifests/agent.pp b/manifests/agent.pp index b105395..4ae1804 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -97,7 +97,7 @@ owner => 'root', group => 'root', mode => '0750', - content => "#!/bin/bash \n/usr/local/sbin/repuppet${cmd_noop} --show_diff --color=false | egrep -i -v '^Notice: Finished catalog run in'\n", + content => "#!/bin/bash \n/usr/local/sbin/repuppet${cmd_noop} --show_diff --color=false | egrep -i -v '^Notice: (Applied|Finished) catalog '\n", } } cron { 'puppet-agent':