Show your "meatadata.json" fileIs this "metadata.json" from cookbook? Then you are doing it wrong - http://wiki.opscode.com/display/chef/Setting+the+run_list+in+JSON+during+run+timeOn Mar 6, 2012, at 12:37 PM, < " target="_blank"> > < " target="_blank"> > wrote:Hi Team,
I created the cookbook and node with run list.
I am getting error when i ran the following command,
chef-solo -c /etc/chef/solo.rb -j metadata.json
ArgumentError: Initializing a Chef::RunList::RunListItem from a hash requires
that it have a 'type' and 'name' key
Please let me know that what i missed here?
Regards,
Madhavan R
Attachment:
metadata.json
Description: application/json
Archive powered by MHonArc 2.6.16.