summaryrefslogtreecommitdiff
path: root/puppet/modules/unbound/templates
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:33 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:33 -0400
commit85a00655cbfa53ddbae455e26700d3d9888bf9f0 (patch)
tree0cc7aa9b43931643685037195f68c4bdbfc01ab3 /puppet/modules/unbound/templates
parent0e9121a885d545e14488f9aec1a861ba90b7dbb2 (diff)
parentc9be0212c9e45f609d299f5fbdf8f13a63747be6 (diff)
Merge commit 'c9be0212c9e45f609d299f5fbdf8f13a63747be6' as 'puppet/modules/unbound'
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 -%>