summaryrefslogtreecommitdiff
path: root/puppet/modules/unbound/templates/unbound.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/unbound/templates/unbound.conf.erb')
m---------puppet/modules/unbound0
-rw-r--r--puppet/modules/unbound/templates/unbound.conf.erb8
2 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/unbound b/puppet/modules/unbound
deleted file mode 160000
-Subproject a26b91dfea3189e6777629fa00d54f51dc41f4d
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 -%>