summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-24 14:48:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-24 14:48:22 -0300
commit65e393bda6a44639c3d29cd9578cac75166a8f93 (patch)
tree50d1625c3bdecd4a2c209fec699daecb3949a191
parent8f8c2ae043040719ccebb504c32f942382c873f6 (diff)
downloadpuppet-bind-65e393bda6a44639c3d29cd9578cac75166a8f93.tar.gz
puppet-bind-65e393bda6a44639c3d29cd9578cac75166a8f93.tar.bz2
Fix another deprecation warning (3)
-rw-r--r--templates/mx-record.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mx-record.erb b/templates/mx-record.erb
index 23b3a81..7712578 100644
--- a/templates/mx-record.erb
+++ b/templates/mx-record.erb
@@ -1,4 +1,4 @@
-<% if ttl -%>
+<% if @ttl -%>
<%=@owner%> <%=@ttl%> IN MX <%=@priority%> <%=@host%>
<% else -%>
<%=@owner%> IN MX <%=@priority%> <%=@host%>