Skip to content

Commit

Permalink
Properly silence cron-repuppet when no errors happen
Browse files Browse the repository at this point in the history
  • Loading branch information
thias committed Mar 15, 2019
1 parent bf0438e commit d903a21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit d903a21

Please sign in to comment.