From: Silvio Rhatto Date: Wed, 23 Mar 2016 23:50:32 +0000 (-0300) Subject: Fix another deprecation warning X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6322bfc1fe53e7157e042838511dd3da72b54c68;p=puppet-nodo.git Fix another deprecation warning --- 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,