else
if nameservers.empty?
#raise Puppet::ParseError, "Something has gone wrong writing resolv.conf. No nameservers to use!"
- STDERR.put "Something has gone wrong writing resolv.conf. No nameservers to use - using google's!"
+ STDERR.puts "Something has gone wrong writing resolv.conf. No nameservers to use - using google's!"
nameservers << '8.8.8.8'
nameservers << '8.8.4.4'
end