diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/resolver.pp | 11 |
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 + } + } +} |