From 6681e71c35fa4775bf1af5a3d3f351db510de48b Mon Sep 17 00:00:00 2001 From: Greig McGill Date: Thu, 7 Jul 2016 09:50:37 +1200 Subject: [PATCH] Whoops, missed an <% end -%> tag. --- templates/rsyslog.conf.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/rsyslog.conf.erb b/templates/rsyslog.conf.erb index 92d11b6..26fed45 100644 --- a/templates/rsyslog.conf.erb +++ b/templates/rsyslog.conf.erb @@ -106,12 +106,13 @@ $ActionQueueType LinkedList # run asynchronously $ActionResumeRetryCount -1 # infinite retries if host is down <% end -%> <% @log_server_real.each do |server| -%> - <% if server.include? ":" -%> +<% if server.include? ":" -%> <%= @source_facilities %> <% if @transport_protocol == 'tcp' -%>@<% end -%>@<%= server -%> <% else -%> <%= @source_facilities %> <% if @transport_protocol == 'tcp' -%>@<% end -%>@<%= server -%>:<%= @log_server_port %> <% end -%> <% end -%> +<% end -%> <% if @rsyslog_conf_version_real > 2 -%> <% if @is_log_server_real.to_s == 'true' -%>