]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
probably I should move the end to the right place
authorStephen Gran <steve@lobefin.net>
Sat, 19 Jun 2010 18:48:09 +0000 (18:48 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 19 Jun 2010 18:48:09 +0000 (18:48 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/syslog-ng.conf.erb

index c62a7f7998ff70637b62e38355d946070f0869f0..f21ccc5f6fc01d524293992118ddaaff2e177549 100644 (file)
@@ -106,15 +106,15 @@ source s_all {
         # function to send logs to)
         unix-dgram("/var/run/log");
         # messages from the kernel
-<%end%>
 <% if syslogversion == "2" -%>
         file("/dev/klog" log_prefix("kernel: "));
 <% 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%>
 };