feat: find resolvers by role
- use puppetdbquery module to query puppetdb for resolvers - move dns client config to profiles::dns::base - manage the /etc/resolv.conf file
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Managed by Puppet
|
||||
<% @nameservers.each do |ns| -%>
|
||||
nameserver <%= ns %>
|
||||
<% end -%>
|
||||
<% unless @search_domains.empty? -%>
|
||||
search <%= @search_domains.join(' ') %>
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user