Debian Codegraph @

spec/fixtures/modules/logrotate/manifests/defaults/suse.pp

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