diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-24 11:58:46 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-24 11:58:46 -0300 |
commit | 4a3fe5c34f986fd93819a9d3cfc910c88e432033 (patch) | |
tree | d652806d02d36eadfd842cb6db85f5033c87a6c0 | |
parent | 13fcd05d04a3d4432caeaa98478f0f21d0669b1e (diff) | |
download | puppet-dhcp-4a3fe5c34f986fd93819a9d3cfc910c88e432033.tar.gz puppet-dhcp-4a3fe5c34f986fd93819a9d3cfc910c88e432033.tar.bz2 |
Handle the whole log_facility block together
-rw-r--r-- | templates/dhcpd.conf.debian.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/dhcpd.conf.debian.erb b/templates/dhcpd.conf.debian.erb index 64318c8..f193fab 100644 --- a/templates/dhcpd.conf.debian.erb +++ b/templates/dhcpd.conf.debian.erb @@ -14,7 +14,9 @@ ddns-update-style <%= @ddns_update %>; <%= @opts.join(";\n") %>; <% end -%> +<% if @log_facility != '' -%> # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). -<% unless @log_facility != '' -%>log-facility <%= @log_facility %>;<%- end -%> +log-facility <%= @log_facility %>; +<%- end -%> |