Browse Source

Should technically be a symbol.

Noah Kantrowitz 12 years ago
parent
commit
665a31bbd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/default.rb

+ 1 - 1
resources/default.rb

@@ -95,7 +95,7 @@ def method_missing(name, &block)
   lookup_path.each do |resource_name|
     begin
       Chef::Log.debug "Trying to load application resource #{resource_name} for #{name}"
-      resource = super(resource_name, name, &block)
+      resource = super(resource_name.to_sym, name, &block)
       break
     rescue NameError
       next