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

Comments

Projects
None yet
3 participants
@sawanoboly
Contributor

sawanoboly commented Nov 17, 2014

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

This comment has been minimized.

Contributor

kwilczynski commented Nov 17, 2014

Paging @jkeiser .

sawanoboly added a commit to higanworks/chef that referenced this issue Nov 25, 2014

@cl-lab-k

This comment has been minimized.

Contributor

cl-lab-k commented Nov 25, 2014

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.

@sawanoboly sawanoboly closed this Jan 23, 2015

@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.