- use puppetdbquery module to query puppetdb for resolvers - move dns client config to profiles::dns::base - manage the /etc/resolv.conf file
8 lines
173 B
Plaintext
8 lines
173 B
Plaintext
# Managed by Puppet
|
|
<% @nameservers.each do |ns| -%>
|
|
nameserver <%= ns %>
|
|
<% end -%>
|
|
<% unless @search_domains.empty? -%>
|
|
search <%= @search_domains.join(' ') %>
|
|
<% end -%>
|