From b6775a929aa275358e91cb311bf570735ebc410d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 30 Mar 2013 19:37:28 -0300 Subject: Resolver class now can configure resolv.conf's domain and search parameters --- manifests/subsystems/resolver.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'manifests') 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, } } -- cgit v1.2.3