$ModLoad omrelp
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
*.* :omrelp:<%= "#{@server}:#{node['rsyslog']['relp_port']}" %>

$ModLoad omrelp
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
<% @servers.each do |server| -%> 
    *.* :omrelp:<%= "#{server}:#{node['rsyslog']['relp_port']}" %>
<% end -%> 


Support forwarding to multiple rsyslog servers
Support forwarding to multiple rsyslog servers

Previous version of file is not compatible with [COOK-2355] changes.