You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the Gemfile from gem 'chef', '~> 12.5' to just gem 'chef'
Remove your Gemfile.lock if you have one
Run bundle install
Run rake unit
Expected Result
Test to pass
Actual Result
Lots of undefined local variable or method errors get raised. Apparently the ::property method in newer versions of chef don't make those properties available as methods with the same name.
Scenario/Intent
Make this cookbook support Chef 13+
Environment Details
Steps to Reproduce
gem 'chef', '~> 12.5'
to justgem 'chef'
Gemfile.lock
if you have onebundle install
rake unit
Expected Result
Test to pass
Actual Result
Lots of
undefined local variable or method
errors get raised. Apparently the::property
method in newer versions of chef don't make those properties available as methods with the same name.See https://docs.chef.io/custom_resources_notes.html and https://docs.chef.io/custom_resources.html
The text was updated successfully, but these errors were encountered: