summaryrefslogtreecommitdiff
path: root/puppet/modules/rsyslog/manifests/modload.pp
blob: 7a838af1f201bf175d449a96275f8ec5fa26ee72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# == Class: rsyslog::modload
#

class rsyslog::modload (
  $modload_filename = '10-modload.conf',
) {
  file { "${rsyslog::rsyslog_d}${modload_filename}":
    ensure  => file,
    owner   => 'root',
    group   => $rsyslog::run_group,
    content => template('rsyslog/modload.erb'),
    require => Class['rsyslog::install'],
    notify  => Class['rsyslog::service'],
  }
}