Remove the old logrotate configuration
This is required for the 0.8.0 > 0.8.1 upgrade to avoid running logrotate in parallel. Change-Id: I815212c6cc5b7e3c7e048581e95c287530ddd886
This commit is contained in:
parent
d35ae5171a
commit
451ab33a69
|
@ -149,6 +149,12 @@ class heka (
|
|||
require => [User[$heka_user], Package['heka']],
|
||||
}
|
||||
|
||||
# To avoid concurrent run of logrotate, the old logrotate configuration set
|
||||
# by 0.8.0 must be removed
|
||||
file { '/etc/logrotate.d/lma_collector':
|
||||
ensure => absent,
|
||||
}
|
||||
|
||||
$logrotate_conf = "/etc/logrotate_${service_name}.conf"
|
||||
file { $logrotate_conf:
|
||||
ensure => present,
|
||||
|
|
Loading…
Reference in New Issue