berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
231 stars 85 forks source link

unable to set run_list #307

Closed saikiranrgda closed 9 years ago

saikiranrgda commented 9 years ago

Hi,

I am trying to set run list to a host, however i get the following error.

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ridley-4.1.2/lib/ridley/middleware/chef_response.rb:24:in `on_complete': {"error":["Field 'run_list' is not a valid run list"]} (Ridley::Errors::HTTPBadRequest)

Sample code & complete error stack is here

saikiranrgda commented 9 years ago

Never mind.. figured out the mistake. Thanks