1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# Internal: Manage the default suse logrotate rules.
#
# Examples
#
# include logrotate::defaults::suse
class logrotate::defaults::suse {
Logrotate::Rule {
missingok => true,
rotate_every => 'month',
create => true,
create_owner => 'root',
create_group => 'utmp',
rotate => 99,
maxage => 365,
size => '400k'
}
logrotate::rule {
'wtmp':
path => '/var/log/wtmp',
create_mode => '0664',
missingok => false;
'btmp':
path => '/var/log/btmp',
create_mode => '0600',
create_group => 'root';
}
}
|