Re: Uploading a new recipe to Chef?

2013-07-22 Thread Alex Tang
> [1] > > https://github.com/jclouds/jclouds-chef/blob/master/core/src/test/java/org/jclouds/chef/internal/BaseChefApiLiveTest.java#L80-118 > [2] u...@jclouds.incubator.apache.org< > https://mail.google.com/mail/mu/mp/53/> > > > On Saturday, 20 July 2013, Alex Tang <2degh...@gm

Re: Uploading a new recipe to Chef?

2013-07-19 Thread Alex Tang
Hi, I was not able to find an API from jclouds-chef (1.5.5) which uploads a new recipe (including its content) to the Chef server. Is this supported? I see there is an API called getApi().uploadContent( location, content). Is this the one I should use. Any example of this API usage? Thanks

Re: jclouds-che f- searchNodes()

2013-07-15 Thread Alex Tang
When I used jclouds-chef (1.5.5) API searchNode(SearchOptions), it returns a list of Nodes with all attributes. How do I formulate a search which only returns a particular attribute of a node? Does jclouds-chef support such query? Thanks, Alex