From 3f0d8e30642dbe7d669300cceff8909ac5d0478c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 31 Mar 2016 11:05:40 -0300 Subject: Fixes template deprecation --- templates/dhcp/dhclient.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 %>"; -- cgit v1.2.3