forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-3632) Update EL and Debian logrotate for AIO log path
With the AIO agent, puppet agent log files are moving to /var/log/puppetlabs/agent. This commit updates the Debian and EL logrotate configurations for the new layout. In addition, this commit removes the signal sent to the 'puppet master' process, since this is no longer needed with Puppet 4.
- Loading branch information
1 parent
b8fa8bf
commit 62b952b
Showing
2 changed files
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
/var/log/puppet/*log { | ||
/var/log/puppetlabs/agent/puppet.log { | ||
missingok | ||
sharedscripts | ||
create 0644 puppet puppet | ||
compress | ||
rotate 4 | ||
|
||
postrotate | ||
pkill -USR2 -u puppet -f 'puppet master' || true | ||
[ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true | ||
endscript | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
/var/log/puppet/*log { | ||
/var/log/puppetlabs/agent/puppet.log { | ||
missingok | ||
notifempty | ||
create 0644 puppet puppet | ||
sharedscripts | ||
postrotate | ||
pkill -USR2 -u puppet -f 'puppet master' || true | ||
[ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true | ||
endscript | ||
} |