Merge "puppetmaster: rotate /var/log/puppet_run_all_infracloud.log"
This commit is contained in:
commit
518cef44be
@ -95,6 +95,20 @@ class openstack_project::puppetmaster (
|
|||||||
require => Cron['updatepuppetmaster'],
|
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':
|
logrotate::file { 'updateinfracloudcron':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
log => '/var/log/puppet_run_infracloud_cron.log',
|
log => '/var/log/puppet_run_infracloud_cron.log',
|
||||||
|
Loading…
Reference in New Issue
Block a user