summaryrefslogtreecommitdiff
path: root/puppet/modules/unbound/templates
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/unbound/templates')
-rw-r--r--puppet/modules/unbound/templates/unbound.conf.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/unbound/templates/unbound.conf.erb b/puppet/modules/unbound/templates/unbound.conf.erb
new file mode 100644
index 00000000..ad93965c
--- /dev/null
+++ b/puppet/modules/unbound/templates/unbound.conf.erb
@@ -0,0 +1,8 @@
+<% @real_settings.sort.each do |section, settings| -%>
+<%= "#{section}:" %>
+<% settings.sort.each do |key, val| -%>
+<% [val].flatten.each do |val| -%>
+<%= " #{key}: #{val}" %>
+<% end -%>
+<% end %>
+<% end -%>