resolvconf += "nameserver 127.0.0.1\n"
else
if nameservers.empty?
#raise Puppet::ParseError, "Something has gone wrong writing resolv.conf. No nameservers to use!"
resolvconf += "nameserver 127.0.0.1\n"
else
if nameservers.empty?
#raise Puppet::ParseError, "Something has gone wrong writing resolv.conf. No nameservers to use!"