]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixes template deprecation
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 31 Mar 2016 14:05:40 +0000 (11:05 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 31 Mar 2016 14:05:40 +0000 (11:05 -0300)
templates/dhcp/dhclient.conf.erb

index 12e1c4d8584dfbdd70f4f9008264116563d847cf..1e27e2da3844c47888fae96f9b720f8a695e58f7 100644 (file)
@@ -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 %>";