Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
# Internal: Manage the default debian logrotate rules. |
| 2 |
# |
| 3 |
# Examples |
| 4 |
# |
| 5 |
# include logrotate::defaults::debian |
| 6 |
class logrotate::defaults::debian { |
| 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 |
'btmp': |
| 21 |
path => '/var/log/btmp', |
| 22 |
create_mode => '0660'; |
| 23 |
} |
| 24 |
} |