ba2a601daf
This reverts commit 949bd5831d
.
Change-Id: I042ee40c2b33dff376101e78145f02199a56dfdf
Related-Bug: #1505180
Related-Bug: #1504596
21 lines
464 B
Puppet
21 lines
464 B
Puppet
#
|
|
define rsyslog::imfile(
|
|
$file_name,
|
|
$file_tag,
|
|
$file_facility,
|
|
$polling_interval = 10,
|
|
$file_severity = 'notice',
|
|
$run_file_monitor = true
|
|
) {
|
|
include rsyslog::params
|
|
|
|
file { "${rsyslog::params::rsyslog_d}${name}.conf":
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => $rsyslog::params::run_group,
|
|
content => template('rsyslog/imfile.erb'),
|
|
#require => Class['rsyslog::install'],
|
|
notify => Class['rsyslog::service'],
|
|
}
|
|
}
|