]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
not really know what I am doing
authorPeter Palfrader <peter@palfrader.org>
Sat, 5 Mar 2011 12:41:58 +0000 (13:41 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 5 Mar 2011 12:41:58 +0000 (13:41 +0100)
modules/resolv/templates/resolv.conf.erb

index e3956756fc1b625728d465b8e1753289760cd7da..67f8d64a5462e0ac376f4fceaf9d93c1019843e9 100644 (file)
@@ -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