From: Peter Palfrader Date: Sat, 5 Mar 2011 12:41:58 +0000 (+0100) Subject: not really know what I am doing X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=d4f6ae4b33cd6f3d05a891bbea1310a838e9b9e3 not really know what I am doing --- diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index e3956756..67f8d64a 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -26,7 +26,7 @@ if defined?(unbound) and unbound and unbound == "true" else if nameservers.empty? #raise Puppet::ParseError, "Something has gone wrong writing resolv.conf. No nameservers to use!" - function_warning("Something has gone wrong writing resolv.conf. No nameservers to use - using google's!") + scope.function_warning("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