aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/resolver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/resolver.pp')
-rw-r--r--manifests/subsystems/resolver.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/subsystems/resolver.pp b/manifests/subsystems/resolver.pp
new file mode 100644
index 0000000..e1e4582
--- /dev/null
+++ b/manifests/subsystems/resolver.pp
@@ -0,0 +1,11 @@
+class resolver {
+ # DNS resolver
+ case $resolvconf_nameservers {
+ '': { }
+ default: {
+ $resolvconf_domain = "$domain"
+ $resolvconf_search = "$fqdn"
+ include resolvconf
+ }
+ }
+}