aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-31 11:05:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-31 11:05:40 -0300
commit3f0d8e30642dbe7d669300cceff8909ac5d0478c (patch)
treeb39b536cb3a04edb29bd7a9310b3e6b260888f40 /templates
parent8fb6b536230315b6722f0ad892184a949e89ce47 (diff)
downloadpuppet-nodo-3f0d8e30642dbe7d669300cceff8909ac5d0478c.tar.gz
puppet-nodo-3f0d8e30642dbe7d669300cceff8909ac5d0478c.tar.bz2
Fixes template deprecation
Diffstat (limited to 'templates')
-rw-r--r--templates/dhcp/dhclient.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dhcp/dhclient.conf.erb b/templates/dhcp/dhclient.conf.erb
index 12e1c4d..1e27e2d 100644
--- a/templates/dhcp/dhclient.conf.erb
+++ b/templates/dhcp/dhclient.conf.erb
@@ -18,7 +18,7 @@ option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
#send dhcp-lease-time 3600;
#prepend domain-name-servers 127.0.0.1;
-<%- if supersede_domain != '' then -%>
+<%- if @supersede_domain != '' then -%>
# Force a domain name, otherwise facter and other configurations might break.
supersede domain-name "<%= @supersede_domain %>";
supersede domain-search "<%= @supersede_domain %>";