Knife vault create - Auto inflation of JSON data is deprecated


Hello guys,

How to solve this warning?

$ knife vault create sales-dashboard2 database -S "tags:sales-dashboard"
WARN: Auto inflation of JSON data is deprecated. Please pass in the class to inflate or use #edit_hash (CHEF-1) at /opt/chefdk/embedded/lib/ruby/2.3.0/forwardable.rb:189:in `edit_data'.
Please see for further details and information on how to correct this problem.



While you don’t specify any versions, I’d suggest you try upgrading your ChefDK.


Sorry @thommay,

I’'m using the last v.12 of chef-client available:

$ chef -v
Chef Development Kit Version: 1.6.11
chef-client version: 12.21.26
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
kitchen version: 1.16.0
inspec version: 1.25.1


it was fixed in chef-vault 3, which is available in any 2.0 version of ChefDK.