Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

Deprecations in chefspec cause updated cookbooks to fail chef spec runs. #194

Closed
jonsmorrow opened this issue Oct 15, 2014 · 4 comments
Closed
Labels

Comments

@jonsmorrow
Copy link
Contributor

The latest version of chef spec deprecates:
ChefSpec::Runner.define_runner_method
in favor of:
ChefSpec.define_matcher

The version of chef spec that ships with chefdk doesn't have this api and therefore will fail to run chef spec against any cookbooks that have been update to this api (omnibus is one).

@sersut
Copy link

sersut commented Oct 15, 2014

@jonsmorrow is there a chefspec issue around this?

@jonsmorrow
Copy link
Contributor Author

@sersut I think we just need to upgrade the version included in the package. However, I am not sure we can because of: chef/chef#2213

@sersut
Copy link

sersut commented Oct 16, 2014

As far as I understand this should be fixed in ChefSpec. We will need to bump the included ChefSpec version once a new one is available.

ksubrama pushed a commit that referenced this issue Jan 11, 2016
Updated `omnibus` with `*.metadata.json` fixes
@charlesjohnson
Copy link
Contributor

Unable to reproduce with ChefDK 0.15.15.

@thommay thommay added Type: Bug Doesn't work as expected. and removed Bug labels Feb 1, 2017
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

5 participants