Merge pull request 'feat: sort nameserver/search_domains' (#165) from neoloc/dns_sorting into develop
Reviewed-on: unkinben/puppet-prod#165
This commit is contained in:
commit
a7b40daee0
@ -24,8 +24,8 @@ class profiles::dns::base (
|
|||||||
|
|
||||||
# include resolvconf class
|
# include resolvconf class
|
||||||
class { 'profiles::dns::resolvconf':
|
class { 'profiles::dns::resolvconf':
|
||||||
nameservers => $nameserver_array,
|
nameservers => sort($nameserver_array),
|
||||||
search_domains => $search_array,
|
search_domains => sort($search_array),
|
||||||
}
|
}
|
||||||
|
|
||||||
# export dns records for client
|
# export dns records for client
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user