2 ### THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ### USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
11 case hosterinfo["name"]
14 when "draghi", "liszt" then
15 nameservers << "127.0.0.1"
17 nameservers += ["82.195.75.81", "82.195.66.249", "217.198.242.225"]
18 searchpaths << "debprivate-darmstadt.debian.org"
22 nameserver << "127.0.0.1"
24 nameservers += ["195.49.152.215", "195.49.152.213", "195.49.152.214"]
27 when "spohr", "samosa" then
28 nameservers << "127.0.0.1"
30 nameservers += ["192.25.206.33", "192.25.206.57"]
31 searchpaths << "debprivate-ftcollins.debian.org"
34 nameservers += hosterinfo['nameservers'] if hosterinfo['nameservers']
35 searchpaths += hosterinfo['searchpaths'] if hosterinfo['searchpaths']
37 searchpaths << "debian.org"
40 raise Puppet::ParseError, "Something has gone wrong writing resolv.conf: probably included for wrong hoster"
43 resolvconf += "search " + searchpaths.join(" ") + "\n"
44 nameservers.each do |ns|
45 resolvconf += "nameserver " + ns + "\n"