Defined Type: logrotate::conf
- Defined in:
- modules/logrotate/manifests/conf.pp
Overview
SPDX-License-Identifier: Apache-2.0
Define logrotate::conf
Thin helper for the definition of logrotate rules. It basically ensure consistency and that we don't risk things like phabricator.wikimedia.org/T127025 to happen again
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'modules/logrotate/manifests/conf.pp', line 8
define logrotate::conf (
$ensure = present,
$source = undef,
$content = undef,
) {
file { "/etc/logrotate.d/${title}":
ensure => $ensure,
owner => 'root',
group => 'root',
mode => '0444',
source => $source,
content => $content,
}
}
|