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

index 23b3a8176b352e8af3159a411a7452d0fb7031af..771257814bd92d4e7979296b2accd5b957a392f3 100644 (file)
@@ -1,4 +1,4 @@
-<% if ttl -%>
+<% if @ttl -%>
 <%=@owner%> <%=@ttl%> IN MX <%=@priority%> <%=@host%>
 <% else -%>
 <%=@owner%> IN MX <%=@priority%> <%=@host%>