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 if %w{draghi liszt widor spohr samosa}.include?(hostname)
12 nameservers << "127.0.0.1"
15 nameservers += hosterinfo['nameservers'] if hosterinfo['nameservers']
16 searchpaths += hosterinfo['searchpaths'] if hosterinfo['searchpaths']
18 searchpaths << "debian.org"
21 raise Puppet::ParseError, "Something has gone wrong writing resolv.conf: probably included for wrong hoster"
24 resolvconf += "search " + searchpaths.join(" ") + "\n"
25 nameservers.each do |ns|
26 resolvconf += "nameserver " + ns + "\n"