summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-24 14:50:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-24 14:50:28 -0300
commit8b5d6b18a3b9c01a2de92befec35a6340835b847 (patch)
tree25d9538dc6d2e29775aecae4bfb7f4f5b4bec3a2
parent65e393bda6a44639c3d29cd9578cac75166a8f93 (diff)
downloadpuppet-bind-8b5d6b18a3b9c01a2de92befec35a6340835b847.tar.gz
puppet-bind-8b5d6b18a3b9c01a2de92befec35a6340835b847.tar.bz2
Fix another deprecation warning (4)
-rw-r--r--templates/default-record.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/default-record.erb b/templates/default-record.erb
index 33d8f3d..348d07a 100644
--- a/templates/default-record.erb
+++ b/templates/default-record.erb
@@ -1,4 +1,4 @@
-<% if ttl -%>
+<% if @ttl -%>
<%=@_owner%> <%=@ttl%> <%=@record_class%> <%=@record_type%> <%=@host%>
<% else -%>
<%=@_owner%> <%=@record_class%> <%=@record_type%> <%=@host%>