From 3b2bc9d44835cbec74475b2aacf823e328b874d2 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 1 Mar 2011 23:00:27 +0100 Subject: [PATCH] move dns stuff closer together --- manifests/site.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index b81349909..482cc6ba5 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -105,6 +105,10 @@ node default { case $hostname { ries: { include unbound } } + case getfromhash($hosterinfo, 'nameservers') { + false: {} + default: { include resolv } + } case $kernel { Linux: { @@ -125,10 +129,6 @@ node default { case $brokenhosts { "true": { include hosts } } - case getfromhash($hosterinfo, 'nameservers') { - false: {} - default: { include resolv } - } case $portforwarder_user_exists { "true": { include portforwarder } } -- 2.20.1