[chef] Re: Validation Error using encrypted databags on windows


Chronological Thread 
  • From: Tyler Ball < >
  • To:
  • Cc: sachin kumar < >
  • Subject: [chef] Re: Validation Error using encrypted databags on windows
  • Date: Tue, 17 Feb 2015 08:50:50 -0800

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.

-T


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!


Thanks
Sachin

On Mon, Feb 16, 2015 at 11:32 PM, Julian C. Dunn < " target="_blank" class=""> > wrote:
On Mon, Feb 16, 2015 at 2:53 AM, Sachin Gupta
< " class=""> > 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 < " class=""> >          * 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       ]





Archive powered by MHonArc 2.6.16.

§