summaryrefslogtreecommitdiff
path: root/templates/resolvconf.OpenBSD.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/resolvconf.OpenBSD.erb')
-rw-r--r--templates/resolvconf.OpenBSD.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/resolvconf.OpenBSD.erb b/templates/resolvconf.OpenBSD.erb
index be19f8e..48daf27 100644
--- a/templates/resolvconf.OpenBSD.erb
+++ b/templates/resolvconf.OpenBSD.erb
@@ -1,6 +1,5 @@
# managed by puppet
lookup file bind
-<% Puppet::Parser::Functions.function('hiera') -%>
-<% scope.function_hiera('resolvconf_nameservers',['8.8.8.8']).each do |nameserver| -%>
+<% scope.lookupvar('resolvconf::nameservers').each do |nameserver| -%>
nameserver <%= nameserver %>
<% end -%>