[ 
https://issues.apache.org/jira/browse/JCLOUDS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769314#comment-13769314
 ] 

Ignasi Barrera commented on JCLOUDS-285:
----------------------------------------

Just to add some detail. The Chef Server API for versions >= 0.10 returns the 
following JSON when requesting a CookbookDefinition:

{code}
{
  "apache2" => {
    "url" => "http://localhost:4000/cookbooks/apache2";,
    "versions" => [
      {"url" => "http://localhost:4000/cookbooks/apache2/5.1.0";,
       "version" => "5.1.0"},
      {"url" => "http://localhost:4000/cookbooks/apache2/4.2.0";,
       "version" => "4.2.0"}
    ]
  }
}
{code}

But jclouds-chef is not populating the name of the cookbook in the returned 
CookbookDefinition.
                
> Add name field in CookbookDefinition domain
> -------------------------------------------
>
>                 Key: JCLOUDS-285
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-285
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-chef
>    Affects Versions: 1.7.0
>            Reporter: Noorul Islam K M
>            Assignee: Noorul Islam K M
>            Priority: Minor
>              Labels: domain
>             Fix For: 1.7.0
>
>
> There is no provision for us to know the name of the cookbook from 
> CookbookDefinition domain. So name filed should be added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to