]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
udp logging to paganini
authorPeter Palfrader <peter@palfrader.org>
Tue, 23 Mar 2010 12:20:05 +0000 (13:20 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 23 Mar 2010 12:20:05 +0000 (13:20 +0100)
templates/syslog-ng.conf.erb

index f811df49f6104a153e211cfc0875a6d1384213de..c87596cea68cc50b44b48a0c719be1975a857231 100644 (file)
@@ -103,7 +103,9 @@ source s_all {
 <%end%>
         # use the following line if you want to receive remote UDP logging messages
         # (this is equivalent to the "-r" syslogd flag)
-        # udp();
+<% if hostname == "paganini" -%>
+        udp();
+<%end%>
 };