Puppet Class: logrotate::params

Inherited by:
logrotate
Defined in:
manifests/params.pp

Overview

Class: logrotate::params



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/params.pp', line 2

class logrotate::params {
  $package_name = 'logrotate'
  $package_ensure = 'installed'

  $cron_manage = true
  $cron_period = 'daily'

  $config_file = '/etc/logrotate.conf'
  $config_dir = '/etc/logrotate.d'
  $purge_config_dir = true

  $global_settings = {
    rotate_period => 'weekly',
    rotate        => 4,
    create        => true,
    compress      => true,
  }
}