From: Silvio Rhatto Date: Thu, 24 Mar 2016 14:51:28 +0000 (-0300) Subject: Allow empty value for log_facility X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=13fcd05d04a3d4432caeaa98478f0f21d0669b1e;p=puppet-dhcp.git Allow empty value for log_facility --- diff --git a/templates/dhcpd.conf.debian.erb b/templates/dhcpd.conf.debian.erb index e2f31e3..64318c8 100644 --- a/templates/dhcpd.conf.debian.erb +++ b/templates/dhcpd.conf.debian.erb @@ -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 -%>