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:
2023-11-17 21:13:59 +11:00
parent da2e59a6ed
commit fdb13b7338
7 changed files with 58 additions and 6 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
# profiles::dns::client
define profiles::dns::client (
Boolean $forward = true,
Boolean $reverse = true,
Integer $order = 10,
Boolean $forward = true,
Boolean $reverse = true,
Integer $order = 10,
){
$intf = $facts['networking']['primary']