diff options
author | Steffen Zieger <me@saz.sh> | 2013-10-05 16:53:05 +0200 |
---|---|---|
committer | Steffen Zieger <me@saz.sh> | 2013-10-05 16:53:05 +0200 |
commit | 6556e1b7648764ca4a9200e66c3df9d83d9f60b2 (patch) | |
tree | 8720332a4cafc4dec4d8abffddd630d159330c5a /templates | |
parent | 518c13609a8838d618dde8bdb3d72c003c2490a0 (diff) |
fix variables in templates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/database.conf.erb | 6 | ||||
-rw-r--r-- | templates/imfile.erb | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/templates/database.conf.erb b/templates/database.conf.erb index 174cef2..3934d6c 100644 --- a/templates/database.conf.erb +++ b/templates/database.conf.erb @@ -1,6 +1,6 @@ # File is managed by Puppet -## Configuration file for rsyslog-<%= backend %> +## Configuration file for rsyslog-<%= @backend %> -$ModLoad <%= db_module %> -*.* :<%= db_module -%>:<%= server -%>,<%= database -%>,<%= username -%>,<%= password %> +$ModLoad <%= @db_module %> +*.* :<%= @db_module -%>:<%= @server -%>,<%= @database -%>,<%= @username -%>,<%= @password %> diff --git a/templates/imfile.erb b/templates/imfile.erb index 31d3ec2..0540158 100644 --- a/templates/imfile.erb +++ b/templates/imfile.erb @@ -1,11 +1,11 @@ $ModLoad imfile -$InputFileName <%= file_name %> -$InputFileTag <%= file_tag %> -$InputFileStateFile state-<%= name %> -$InputFileSeverity <%= file_severity %> -$InputFileFacility <%= file_facility %> -$InputFilePollInterval <%= polling_interval %> +$InputFileName <%= @file_name %> +$InputFileTag <%= @file_tag %> +$InputFileStateFile state-<%= @name %> +$InputFileSeverity <%= @file_severity %> +$InputFileFacility <%= @file_facility %> +$InputFilePollInterval <%= @polling_interval %> <% if run_file_monitor == true -%> $InputRunFileMonitor <% end -%> |