move ssl/debian into IgnoreAll
[mirror/dsa-puppet.git] / templates / syslog-ng.conf.erb
index f3f0cf7..f21ccc5 100644 (file)
@@ -101,7 +101,7 @@ source s_all {
 <% else %>
         file("/proc/kmsg" program_override("kernel: "));
 <%end%>
-<% else %>
+<%else%>
         # standard Linux log source (this is the default place for the syslog()
         # function to send logs to)
         unix-dgram("/var/run/log");
@@ -111,9 +111,10 @@ source s_all {
 <% else %>
         file("/dev/klog" program_override("kernel: "));
 <%end%>
+<%end%>
+<% if hostname == "paganini" -%>
         # use the following line if you want to receive remote UDP logging messages
         # (this is equivalent to the "-r" syslogd flag)
-<% if hostname == "paganini" -%>
         udp();
 <%end%>
 };