Skip to content
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

The local_mode doesn't create node object correctly on chef 12. #2433

Closed
sawanoboly opened this issue Nov 17, 2014 · 2 comments
Closed

The local_mode doesn't create node object correctly on chef 12. #2433

sawanoboly opened this issue Nov 17, 2014 · 2 comments

Comments

@sawanoboly
Copy link
Contributor

at chef 11.16.2, local mode creates node object with node attributes.
but at chef 12.0.0, local mode creates node object without node attributes.
this change (or bug?) breaks https://github.com/higanworks/knife-zero.

Please see the more details chef/chef-zero#99 .

@kwilczynski
Copy link
Contributor

Paging @jkeiser .

@d-higuchi
Copy link
Contributor

chef-zero stores data to use Chef::ChefFS::FileSystemChefRepositoryFileSystemEntry.write,
but Chef::JSONCompat.from_json at minimize breaks file_contents.
( https://github.com/opscode/chef/blob/12.0.0.rc.0/lib/chef/chef_fs/file_system/chef_repository_file_system_entry.rb#L59-L71 )

#2482 fixes Chef::ChefFS::FileSystemChefRepositoryFileSystemEntry.minimize and data store at local_mode works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants