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

Warnings with chef_server source #96

Open
webframp opened this issue Apr 3, 2017 · 1 comment
Open

Warnings with chef_server source #96

webframp opened this issue Apr 3, 2017 · 1 comment

Comments

@webframp
Copy link
Contributor

webframp commented Apr 3, 2017

Recording here for posterity, if I get time to look into this I'll try to send a PR

WARN: Chef::REST is deprecated. Please use Chef::ServerAPI, or investigate Ridley or ChefAPI. (CHEF-9) at C:/Users/sescriva/AppData/Local/chefdk/gem/ruby/2.3.0/gems/batali-0.4.10/lib/batali/utility.rb:57:in `new'.

WARN: Auto inflation of JSON data is deprecated. Please use Chef::CookbookVersion#from_hash (CHEF-1) at C:/Users/sescriva/AppData/Local/chefdk/gem/ruby/2.3.0/gems/batali-0.4.10/lib/batali/origin/chef_server.rb:38:in `block (2 levels) in units'.
Please see https://docs.chef.io/deprecations_json_auto_inflate.html for further details and information on how to correct this problem.

Ref: https://docs.chef.io/deprecations_json_auto_inflate.html

@webframp webframp changed the title Warning with chef_server source Warnings with chef_server source Apr 3, 2017
@webframp
Copy link
Contributor Author

webframp commented Apr 3, 2017

Also on batali install this is the result:

[Batali]: Installing cookbooks... error!
[ERROR]: Reason - undefined local variable or method `name' for #<Batali::Source::ChefServer:0x00000002320d50>
Did you mean?  c_name
ERROR: NameError: undefined local variable or method `name' for #<Batali::Source::ChefServer:0x00000002320d50>
Did you mean?  c_name

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

No branches or pull requests

1 participant