~johnsca/charms/trusty/rsyslog-forwarder-ha/cwr

« back to all changes in this revision

Viewing changes to templates/fanout.template

  • Committer: Jorge Niedbalski R.
  • Date: 2014-04-25 22:18:46 UTC
  • Revision ID: jorge.niedbalski@canonical.com-20140425221846-4pi72asyjdyncxme
[charm] initial import of new forwarder-ha charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% for server in servers %}
 
2
$ActionQueueType LinkedList   # use asynchronous processing
 
3
$ActionQueueFileName {{ server.remote_unit }} # set file name, also enables disk mode
 
4
$ActionResumeRetryCount -1    # infinite retries on insert failure
 
5
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
 
6
 
 
7
# Forward everything
 
8
*.*   @@{{server.private_address}}:10514
 
9
 
 
10
{% endfor %}