summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>2010-11-29 09:46:46 +0100
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>2010-11-29 09:46:46 +0100
commitb3e5b6e81fad0181f2d884f35efa875c7b7fa0e1 (patch)
tree14e4de78960081f77ccd127e42eb729543c45ee4 /templates
parentf8510094599c2233422a2ba3fa5cf5268c94af84 (diff)
downloadpuppet-bind-b3e5b6e81fad0181f2d884f35efa875c7b7fa0e1.tar.gz
puppet-bind-b3e5b6e81fad0181f2d884f35efa875c7b7fa0e1.tar.bz2
bind - simplification for bind::* definitions.
namevar can be used as "$owner", if $owner is not set.
Diffstat (limited to 'templates')
-rw-r--r--templates/default-record.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/default-record.erb b/templates/default-record.erb
index 112ae2f..16b839f 100644
--- a/templates/default-record.erb
+++ b/templates/default-record.erb
@@ -1,5 +1,5 @@
<% if ttl -%>
-<%=owner%> <%=ttl%> <%=record_class%> <%=record_type%> <%=host%>
+<%=_owner%> <%=ttl%> <%=record_class%> <%=record_type%> <%=host%>
<% else -%>
-<%=owner%> <%=record_class%> <%=record_type%> <%=host%>
+<%=_owner%> <%=record_class%> <%=record_type%> <%=host%>
<% end -%>