Skip to content

CHEF-2352: create proper Chef objects from a json file#264

Closed
juanje wants to merge 3 commits into
chef:masterfrom
juanje:CHEF-2352
Closed

CHEF-2352: create proper Chef objects from a json file#264
juanje wants to merge 3 commits into
chef:masterfrom
juanje:CHEF-2352

Conversation

@juanje

@juanje juanje commented Apr 9, 2012

Copy link
Copy Markdown
Contributor

UPDATED: Changed the object_from_file method to create a proper Chef::Node objects from json files, even if the file has not a json_class defined.

Actually the method is used not just for nodes, but also for roles and environments, so the patch uses the detected class (@klass).

@danielsdeleo

Copy link
Copy Markdown
Contributor

Looks like it's merged but the pull request didn't close itself. Thanks for the patch!

@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants