From a0bc9552fc601a8c92fa6ae75870c646e851bad1 Mon Sep 17 00:00:00 2001 From: am Date: Mon, 28 Apr 2008 10:19:54 +0000 Subject: nameservers now as string with ":" as delimiter git-svn-id: https://svn/ipuppet/trunk/modules/resolvconf@1304 d66ca3ae-40d7-4aa7-90d4-87d79ca94279 --- manifests/init.pp | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 58dc83f..31b41e0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -13,18 +13,23 @@ class resolvconf { '' => 'glei.ch', default => $resolvconf_search, } - $real_resolvconf_nameserver1 = $resolvconf_nameserver1 ? { - '' => '212.103.67.60', + $real_resolvconf_nameservers ? $resolvconf_nameservers ? { + '' => '212.103.67.60:212.103.67.61:212.103.72.231:192.168.1.104', default => $resolvconf_nameserver1, } - $real_resolvconf_nameserver2 = $resolvconf_nameserver2 ? { - '' => '212.103.72.231', - default => $resolvconf_nameserver2, - } - $real_resolvconf_nameserver3 = $resolvconf_nameserver3 ? { - '' => '192.168.1.104', - default => $resolvconf_nameserver3, - } + +# $real_resolvconf_nameserver1 = $resolvconf_nameserver1 ? { +# '' => '212.103.67.60', +# default => $resolvconf_nameserver1, +# } +# $real_resolvconf_nameserver2 = $resolvconf_nameserver2 ? { +# '' => '212.103.72.231', +# default => $resolvconf_nameserver2, +# } +# $real_resolvconf_nameserver3 = $resolvconf_nameserver3 ? { +# '' => '192.168.1.104', +# default => $resolvconf_nameserver3, +# } file { '/etc/resolv.conf': path => '/etc/resolv.conf', -- cgit v1.2.3