fuel-library/deployment/puppet/rsyslog/manifests/imfile.pp
Alex Schultz ba2a601daf Revert "Moving rsyslog to librarian"
This reverts commit 949bd5831d.

Change-Id: I042ee40c2b33dff376101e78145f02199a56dfdf
Related-Bug: #1505180
Related-Bug: #1504596
2015-10-12 13:19:52 +00:00

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'],
}
}