puppet/syslog/templates/syslog.conf.server.erb

9 lines
196 B
Text

# Everything goes here
*.* /srv/log/all.log
mark.* /srv/log/all.log
<% if @syslog_type == "rsyslog" -%>
# Remote logs only go in all.log
:fromhost-ip, !isequal, "127.0.0.1" ~
<% end -%>