aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-23 20:50:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-23 20:50:32 -0300
commit6322bfc1fe53e7157e042838511dd3da72b54c68 (patch)
treeaf0f516b2cffd623fa68adf9082c74102820231c /templates
parent6957553e0a05dd60d5a6e80c609ae3c9ee9d4728 (diff)
downloadpuppet-nodo-6322bfc1fe53e7157e042838511dd3da72b54c68.tar.gz
puppet-nodo-6322bfc1fe53e7157e042838511dd3da72b54c68.tar.bz2
Fix another deprecation warning
Diffstat (limited to 'templates')
-rw-r--r--templates/dhcp/dhclient.conf.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/dhcp/dhclient.conf.erb b/templates/dhcp/dhclient.conf.erb
index 52b704c..12e1c4d 100644
--- a/templates/dhcp/dhclient.conf.erb
+++ b/templates/dhcp/dhclient.conf.erb
@@ -20,8 +20,8 @@ option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
<%- 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 %>";
+supersede domain-name "<%= @supersede_domain %>";
+supersede domain-search "<%= @supersede_domain %>";
<%- end -%>
request subnet-mask, broadcast-address, time-offset, routers,