anchor.diff:  $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
   <% end -%>
   
  -<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
  -$ModLoad imudp
  -$UDPServerRun 514
  -<% end -%>
  -
  -<% if scope.lookupvar('rsyslog::server::enable_tcp') -%>
  -$ModLoad imtcp
  -$InputTCPServerRun 514
  -<% end -%>
  -
  -$ModLoad imrelp
  -$InputRELPServerRun 2514
  +# Switch to remote ruleset
  +$RuleSet remote
   
   # Templates
   $Template dynAuthLog,"<%= scope.lookupvar('rsyslog::server::server_dir') -%>%source:R,ERE,1,DFLT:([A-Za-z-]*)--end%/auth.log"
  
positive.code: # File is managed by puppet
  
  <% if scope.lookupvar('rsyslog::server::high_precision_timestamps') == false -%>
  #
  
negative.code:     auth.none,authpriv.none;\
      cron.none,daemon.none;\
      mail.none,news.none     -?dynMessages
  
  # Switch back to default ruleset
  $RuleSet RSYSLOG_DefaultRuleset
  
  <% if scope.lookupvar('rsyslog::server::enable_udp') -%>
  $InputUDPServerBindRuleset remote
  $UDPServerRun 514
  <% end -%>
  
  <% if scope.lookupvar('rsyslog::server::enable_tcp') -%>
  $InputTCPServerBindRuleset remote
  $InputTCPServerRun 514
  <% end -%>
  