summaryrefslogtreecommitdiff
path: root/puppet/modules/rsyslog/templates/server/_default-footer.conf.erb
blob: d8bd00adda59dda734f58a0635314ba07d5a9e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

# Switch back to default ruleset
$RuleSet RSYSLOG_DefaultRuleset

<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
$InputUDPServerBindRuleset remote
$UDPServerRun <%= scope.lookupvar('rsyslog::server::port') %>
<% end -%>

<% if scope.lookupvar('rsyslog::server::enable_tcp') -%>
$InputTCPServerBindRuleset remote
$InputTCPServerRun <%= scope.lookupvar('rsyslog::server::port') %>
<% end -%>