summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2008-04-28 10:19:54 +0000
committerandreas <andreas@immerda.ch>2008-04-28 10:19:54 +0000
commit433c0fa776449d42894ae5937a35f2bb6b53217a (patch)
tree49167fc654eace51e0ff89fc528e64b7d259988e /manifests
parentbe0237d2bd0944c6673c2f95c1a6fde8a0fc1703 (diff)
downloadpuppet-resolvconf-433c0fa776449d42894ae5937a35f2bb6b53217a.tar.gz
puppet-resolvconf-433c0fa776449d42894ae5937a35f2bb6b53217a.tar.bz2
nameservers now as string with ":" as delimiter
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp25
1 files changed, 15 insertions, 10 deletions
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',