aboutsummaryrefslogtreecommitdiff
path: root/templates/dhcpd.conf.debian.erb
blob: 2acbe9cfb40968a92aa115e6564db4b1aec51aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File managed by puppet

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style <%= @ddns_update %>;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
<% unless @authoritative -%>#<%- end -%>authoritative;

<% unless @opts.empty? -%>
<%= @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).
log-facility <%= @log_facility %>;
<%- end -%>