File: suse.pp

package info (click to toggle)
puppet-module-rodjek-logrotate 1.1.1%2Bds1-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 248 kB
  • sloc: ruby: 906; sh: 32; makefile: 10
file content (28 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (4)
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';
  }
}