-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails when using Chef Client 16.1.16 #45
Comments
I think this might be because "HWRP Style Resources Now Require resource_name / provides" in Chef 16 (source). I've never written an HWRP before, but following this as a reference and adding:
It no longer throws this error. I'm just running it through the kitchen test suite now and if that looks good I'll submit a PR. |
HWRP Style Resources require resource_name / provides in Chef 16. Set the provider to prevent Chef from crashing with "undefined method ssl_certificate for cookbook". Fixes zuazo#45
@vzDevelopment Is there a way we can add a dependency through git? I have something like this in my # metadata.rb
depends 'ssl_certificate', '~> 2.1.0' |
You may be able to replace your usage of |
Cookbook Version
2.1.0
Chef Client Version
16.1.16
Platform Details
Centos 7.8
Scenario
Recipe compilation
Steps to Reproduce
Add the
ssl_certificate
dependency, add the snippet below in a recipe, and then converge it.Expected Result
Compiles successfully
Actual Result
The text was updated successfully, but these errors were encountered: