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
9 searchpaths << "debian.org" -%>
10 search <%= searchpaths.to_a.flatten.join(" ") %>
13 if %w{draghi}.include?(hostname)
14 nameservers << "127.0.0.1"
18 if @unbound && @unbound == "true"
19 nameservers = ['127.0.0.1']
23 #raise Puppet::ParseError, "Something has gone wrong writing resolv.conf. No nameservers to use!"
24 scope.function_warning(["Something has gone wrong writing resolv.conf. No nameservers to use - using google's!"])
25 nameservers << '8.8.8.8'
26 nameservers << '8.8.4.4'
29 nameservers.to_a.flatten.each do |nms| -%>
35 <% options.to_a.flatten.each do |opt| -%>