diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/resolver.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/subsystems/resolver.pp b/manifests/subsystems/resolver.pp index ac80cf6..a6604f5 100644 --- a/manifests/subsystems/resolver.pp +++ b/manifests/subsystems/resolver.pp @@ -1,6 +1,8 @@ class resolver( - $manage = hiera('nodo::resolver::manage', false), + $manage = hiera('nodo::resolver::manage', false), $nameservers = hiera('nodo::resolver::nameservers', '') + $domain = hiera('nodo::resolver::domain', $::domain), + $search = hiera('nodo::resolver::search', $::fqdn) ) { # DNS resolver case $manage { @@ -16,7 +18,8 @@ class resolver( } default: { class { 'resolvconf': - search => $::fqdn, + domain => $domain, + search => $search, nameservers => $nameservers, } } |