summaryrefslogtreecommitdiff
path: root/templates/resolvconf.erb
blob: dc98aead799953cc9ab9e12c2ea3ffb8a00f6484 (plain)
1
2
3
4
5
6
7
8
# managed by puppet
<% Puppet::Parser::Functions.function('hiera') -%>
domain <%= scope.function_hiera('resolvconf_domain',domain) %>
search <%= scope.function_hiera('resolvconf_search',domain) %>

<% scope.function_hiera('resolvconf_nameservers',['8.8.8.8']).each do |nameserver| -%>
nameserver <%= nameserver %>
<% end -%>