
This class will ensure that files under that logrotate directoy are correctly removed on demand. Change-Id: Ifd052804a24806f8f660d25dca68c5af9c4fb605
9 lines
153 B
Puppet
9 lines
153 B
Puppet
# == Define: logrotate::fileremoval
|
|
#
|
|
define logrotate::fileremoval ($file = $title) {
|
|
file { "/etc/logrotate.d/${file}":
|
|
ensure => absent,
|
|
}
|
|
}
|
|
|