]> gitweb.fluxo.info Git - puppet-dhcp.git/commitdiff
Allow empty value for log_facility
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Mar 2016 14:51:28 +0000 (11:51 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Mar 2016 14:51:28 +0000 (11:51 -0300)
templates/dhcpd.conf.debian.erb

index e2f31e36810016fafbf2480d055aa53327ef0684..64318c820c13fe49a70a2de9a1a59324060ee81f 100644 (file)
@@ -16,5 +16,5 @@ ddns-update-style <%= @ddns_update %>;
 
 # Use this to send dhcp log messages to a different log file (you also
 # have to hack syslog.conf to complete the redirection).
-log-facility <%= @log_facility %>;
+<% unless @log_facility != '' -%>log-facility <%= @log_facility %>;<%- end -%>