Skip to content

Chef 13 Resource Compatibility #38

Open
cmoscardi wants to merge 3 commits intostevendanna:masterfrom
thedataincubator:chef_13_resource
Open

Chef 13 Resource Compatibility #38
cmoscardi wants to merge 3 commits intostevendanna:masterfrom
thedataincubator:chef_13_resource

Conversation

@cmoscardi
Copy link
Copy Markdown

@cmoscardi cmoscardi commented Apr 13, 2017

We've recently switched to Chef 13, which broke the package resource (in particular in the load_current_resource function, the Chef::Resource::RPackage.new call is deprecated). Apparently, custom resources have significantly changed... docs here, so I moved code around / renamed variables accordingly.

It appears this remains compatible with Chef 12 as well (or at least 12.5 on up)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant