Initial Chef repository
This commit is contained in:
15
cookbooks/rsyslog/templates/default/file-input.conf.erb
Normal file
15
cookbooks/rsyslog/templates/default/file-input.conf.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
# <%= @tag %>.conf - Syslog file inputs for <%= @tag %>
|
||||
#
|
||||
# Generated by Chef for <%= node['fqdn'] %>
|
||||
# Local modifications will be overwritten.
|
||||
$ModLoad imfile
|
||||
$InputFileName <%= @file_name %>
|
||||
$InputFileTag <%= @tag %>:
|
||||
$InputFileStateFile <%= @state_file %>
|
||||
<% if @severity %>
|
||||
$InputFileSeverity <%= @severity %>
|
||||
<% end %>
|
||||
<% if @facility %>
|
||||
$InputFileFacility <%= @facility %>
|
||||
<% end %>
|
||||
$InputRunFileMonitor
|
||||
Reference in New Issue
Block a user