summaryrefslogtreecommitdiff
path: root/puppet/modules/resolvconf/templates/resolvconf.OpenBSD.erb
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/resolvconf/templates/resolvconf.OpenBSD.erb')
-rw-r--r--puppet/modules/resolvconf/templates/resolvconf.OpenBSD.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/resolvconf/templates/resolvconf.OpenBSD.erb b/puppet/modules/resolvconf/templates/resolvconf.OpenBSD.erb
new file mode 100644
index 00000000..48daf279
--- /dev/null
+++ b/puppet/modules/resolvconf/templates/resolvconf.OpenBSD.erb
@@ -0,0 +1,5 @@
+# managed by puppet
+lookup file bind
+<% scope.lookupvar('resolvconf::nameservers').each do |nameserver| -%>
+nameserver <%= nameserver %>
+<% end -%>