[chef] chefspec and chef11


Chronological Thread 
  • From: andi abes < >
  • To: " " < >
  • Subject: [chef] chefspec and chef11
  • Date: Thu, 7 Mar 2013 16:51:34 -0500

Any one having luck with chefspec and chef-client 11?

I'm getting some funky errors :
/opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec/monkey_patches/provider.rb:6:in `alias_method': undefined method `build_from_file' for class `Class' (NameError)
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec/monkey_patches/provider.rb:6:in `singletonclass'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec/monkey_patches/provider.rb:5:in `<class:Provider>'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec/monkey_patches/provider.rb:4:in `<class:Chef>'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec/monkey_patches/provider.rb:2:in `<top (required)>'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec.rb:21:in `require'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chefspec.rb:21:in `<top (required)>'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chef/knife/cookbook_create_specs.rb:1:in `require'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chefspec-0.9.0/lib/chef/knife/cookbook_create_specs.rb:1:in `<top (required)>'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chef-11.4.0/lib/chef/knife/core/subcommand_loader.rb:37:in `load'
        from /opt/dell/crowbar_framework/vendor/bundle/ruby/1.9.1/gems/chef-11.4.0/lib/chef/knife/core/subcommand_loader.rb:37:in `block in load_commands'


thoughts?




Archive powered by MHonArc 2.6.16.

§