diff --git a/manifests/zone.pp b/manifests/zone.pp index 30c5eaa..751ecd3 100644 --- a/manifests/zone.pp +++ b/manifests/zone.pp @@ -1,5 +1,5 @@ define bind::zone ( - $type, + $zone_type, $domain = '', $masters = [], $allow_updates = [], diff --git a/templates/zone.conf.erb b/templates/zone.conf.erb index 51ae671..3dd21c9 100644 --- a/templates/zone.conf.erb +++ b/templates/zone.conf.erb @@ -1,7 +1,7 @@ # This file managed by puppet - changes will be lost zone "<%= _domain %>" { - type <%= type %>; + type <%= zone_type %>; <%- if file != '' -%> file "<%= file %>"; <%- end -%>