Debian Codegraph @

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

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