Merge "puppetmaster: rotate /var/log/puppet_run_all_infracloud.log"

This commit is contained in:
Zuul 2017-11-02 00:25:48 +00:00 committed by Gerrit Code Review
commit 518cef44be

View File

@ -95,6 +95,20 @@ class openstack_project::puppetmaster (
require => Cron['updatepuppetmaster'],
}
logrotate::file { 'updateinfracloud':
ensure => present,
log => '/var/log/puppet_run_all_infracloud.log',
options => ['compress',
'copytruncate',
'delaycompress',
'missingok',
'rotate 7',
'daily',
'notifempty',
],
require => Cron['updateinfracloud'],
}
logrotate::file { 'updateinfracloudcron':
ensure => present,
log => '/var/log/puppet_run_infracloud_cron.log',