From: Silvio Rhatto Date: Thu, 24 Mar 2016 15:24:36 +0000 (-0300) Subject: Fix another deprecation warning X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0512649309b4ac89ebe597e53f5b0392779f0063;p=puppet-bind.git Fix another deprecation warning --- diff --git a/templates/zone-master.erb b/templates/zone-master.erb index eaabf8a..1253a07 100644 --- a/templates/zone-master.erb +++ b/templates/zone-master.erb @@ -1,7 +1,7 @@ # File managed by puppet zone "<%=@zone%>" IN { type master; - file "/etc/bind/pri/<%=name%>.conf"; + file "/etc/bind/pri/<%=@name%>.conf"; <% if @zone_xfers and not @zone_xfers.empty? -%> <% if @zone_xfers.is_a?(Array) -%> allow-transfer { <%= @zone_xfers.join('; ') -%>; };