[chef-dev] Re: Documentation differ from actual behavior


Chronological Thread 
  • From: Noorul Islam Kamal Malmiyoda < >
  • To:
  • Subject: [chef-dev] Re: Documentation differ from actual behavior
  • Date: Tue, 8 Oct 2013 12:47:50 +0530

On Fri, Oct 4, 2013 at 9:34 AM, Noorul Islam Kamal Malmiyoda
< >
 wrote:
> Forgot to copy dev mailing list.
>
> ---------- Forwarded message ----------
> From: Noorul Islam K M 
> < >
> Date: Fri, Oct 4, 2013 at 9:32 AM
> Subject: Documentation differ from actual behavior
> To: 
> 
>
>
>
> I am using Open Source Chef Server 11.
>
> As per http://docs.opscode.com/api_chef_server.html#id11
>
> for the following command
>
> knife raw --method DELETE /data/test/config
>
> I expected to get following response
>
> {"id":"config", "foo":"bar"}
>
> But I get
>
> {"name":"data_bag_item_test_config","json_class":"Chef::DataBagItem","chef_type":"data_bag_item","data_bag":"test","raw_data":{"id":"config",
> "foo":"bar"}}
>

If someone can confirm that this is a documentation issue, then I will fix it.

Thanks and Regards
Noorul



Archive powered by MHonArc 2.6.16.

§