]> gitweb.fluxo.info Git - puppet-bind.git/commitdiff
Fix another deprecation warning (4)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Mar 2016 17:50:28 +0000 (14:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 24 Mar 2016 17:50:28 +0000 (14:50 -0300)
templates/default-record.erb

index 33d8f3d7f72b8566123dea2db2a6d0fb1f4d2b20..348d07af15ce593398e613dc5dbe7a0bcad1de24 100644 (file)
@@ -1,4 +1,4 @@
-<% if ttl -%>
+<% if @ttl -%>
 <%=@_owner%> <%=@ttl%> <%=@record_class%> <%=@record_type%> <%=@host%>
 <% else -%>
 <%=@_owner%> <%=@record_class%> <%=@record_type%> <%=@host%>