X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fresolv%2Ftemplates%2Fresolv.conf.erb;h=67f8d64a5462e0ac376f4fceaf9d93c1019843e9;hb=d4f6ae4b33cd6f3d05a891bbea1310a838e9b9e3;hp=e3956756fc1b625728d465b8e1753289760cd7da;hpb=0f2f72fcff88606d5bc2d5e2c338917503ed3746;p=dsa-puppet.git 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