]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fix another deprecation warning
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Mar 2016 23:50:32 +0000 (20:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Mar 2016 23:50:32 +0000 (20:50 -0300)
templates/dhcp/dhclient.conf.erb

index 52b704c84acf513eeb61ac89e7ba1914a71d0f60..12e1c4d8584dfbdd70f4f9008264116563d847cf 100644 (file)
@@ -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,