Hey Sachin, I would like to see the full stacktrace of that exception. Can you enable debug logging(`-l debug`), run it again and grab the stacktrace? You may also see a message like `Stacktrace dumped to c:/chef/cache/chef-stacktrace.out` showing where the stacktrace is stored.-TOn Feb 16, 2015, at 7:05 PM, Sachin Gupta < " target="_blank"> > wrote:Hi Julian,I changed the data_bag_path
data_bag_path "C:\\Users\\sachkkum\\chef-repo\\data_bags" or data_bag_path 'C:\Users\sachkkum\chef-repo\data_bags'
but still the same error
Chef::Exceptions::ValidationFailed
----------------------------------
Data Bag Items must contain a Hash or Mash!ThanksSachinOn Mon, Feb 16, 2015 at 11:32 PM, Julian C. Dunn < " target="_blank"> > wrote:On Mon, Feb 16, 2015 at 2:53 AM, Sachin Gupta
< " target="_blank"> > wrote:
> In my solo.rb, I had made these entries
>
> data_bag_path root 'C:\chef-repo\data_bags'
Is that literally what it says? What is "root"?
- Julian
--
[ Julian C. Dunn < " target="_blank"> > * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Attachment:
chef-stacktrace.out
Description: Binary data
Archive powered by MHonArc 2.6.16.