[chef] Re: chefspec and chef11


Chronological Thread 
  • From: andi abes < >
  • To: " " < >
  • Subject: [chef] Re: chefspec and chef11
  • Date: Thu, 7 Mar 2013 19:35:57 -0500

ah. apparently known (and fixed) issue: https://github.com/acrmp/chefspec/issues/93
(but rubygems still has the 0.9 chefspec...)


On Thu, Mar 7, 2013 at 4:51 PM, andi abes < " target="_blank"> > wrote:
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.

§