Created
June 22, 2013 12:11
-
-
Save smith3v/5840668 to your computer and use it in GitHub Desktop.
Revisions
-
smith3v created this gist
Jun 22, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,83 @@ # chef-client [62/1890] Starting Chef Client, version 11.4.4 resolving cookbooks for run list: ["chef_handler", ...] Synchronizing Cookbooks: - ... Compiling Cookbooks... [2013-06-22T08:10:02-04:00] WARN: Chef::Mixin::Language is deprecated. Use either (or both) Chef::DSL::PlatformIntrospection or Chef::DSL::DataQuery instead. [2013-06-22T11:53:16+00:00] WARN: Chef::Mixin::Language is deprecated. Use either (or both) Chef::DSL::PlatformIntrospection or Chef::DSL::DataQuery instead. [2013-06-22T11:53:16+00:00] WARN: Called from: /var/chef/cache/cookbooks/chef-client/libraries/helpers.rb:23 /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:179:in `load' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:179:in `load_libraries_from_cookbook' ================================================================================ Recipe Compile Error in /var/chef/cache/cookbooks/chef_handler/resources/default.rb ================================================================================ ArgumentError ------------- wrong number of arguments (2 for 1) Cookbook Trace: --------------- /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/resource/lwrp_base.rb:42:in `const_defined?' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/resource/lwrp_base.rb:42:in `build_from_file' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:208:in `load_lwrp_resource' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:193:in `load_lwrps_from_cookbook' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:192:in `each' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:192:in `load_lwrps_from_cookbook' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:120:in `compile_lwrps' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:119:in `each' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:119:in `compile_lwrps' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context/cookbook_compiler.rb:72:in `compile' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/run_context.rb:86:in `load' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/client.rb:224:in `setup_run_context' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/client.rb:467:in `do_run' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/client.rb:200:in `run' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/application.rb:190:in `run_chef_client' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/application/client.rb:297:in `run_application' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/application/client.rb:290:in `loop' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/application/client.rb:290:in `run_application' /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/application.rb:73:in `run' /var/lib/gems/1.8/gems/chef-11.4.4/bin/chef-client:26 /usr/local/bin/chef-client:19:in `load' /usr/local/bin/chef-client:19 Relevant File Content: ---------------------- /var/lib/gems/1.8/gems/chef-11.4.4/bin/../lib/chef/resource/lwrp_base.rb: 35: 36: # Evaluates the LWRP resource file and instantiates a new Resource class. 37: def self.build_from_file(cookbook_name, filename, run_context) 38: rname = filename_to_qualified_string(cookbook_name, filename) 39: 40: # Add log entry if we override an existing light-weight resource. 41: class_name = convert_to_class_name(rname) 42>> if Resource.const_defined?(class_name, false) 43: old_class = Resource.send(:remove_const, class_name) 44: # CHEF-3432 -- Chef::Resource keeps a list of subclasses; need to 45: # remove old ones from the list when replacing. 46: resource_classes.delete(old_class) 47: Chef::Log.info("#{class_name} light-weight resource already initialized -- overriding!") 48: end 49: 50: resource_class = Class.new(self) 51: [2013-06-22T11:53:17+00:00] ERROR: Running exception handlers [2013-06-22T11:53:17+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json [2013-06-22T11:53:17+00:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated [2013-06-22T11:53:17+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2013-06-22T11:53:17+00:00] FATAL: ArgumentError: wrong number of arguments (2 for 1)