aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/resolver.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 11:32:36 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 11:32:36 -0200
commite02a131e4679403c45c852e25cb7128fef30e080 (patch)
treebe7467152d5c388b6713ffece56e2827f394abe1 /manifests/subsystems/resolver.pp
parent4237379f3651ddacfd010092098c4102f934fa1d (diff)
downloadpuppet-nodo-e02a131e4679403c45c852e25cb7128fef30e080.tar.gz
puppet-nodo-e02a131e4679403c45c852e25cb7128fef30e080.tar.bz2
Upgrading resolvconf
Diffstat (limited to 'manifests/subsystems/resolver.pp')
-rw-r--r--manifests/subsystems/resolver.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/subsystems/resolver.pp b/manifests/subsystems/resolver.pp
index 0d8beb8..3e5c36b 100644
--- a/manifests/subsystems/resolver.pp
+++ b/manifests/subsystems/resolver.pp
@@ -12,9 +12,10 @@ class resolver {
}
}
default: {
- $resolvconf_domain = "$domain"
- $resolvconf_search = "$fqdn"
- include resolvconf
+ class { 'resolvconf':
+ search => $::fqdn,
+ nameservers => $resolvconf_nameservers,
+ }
}
}
}