jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: JClouds + Chef + Rackspace
Date Wed, 16 Dec 2015 18:55:34 GMT
Hi Folks,
To cap this thread off, I sent my pull request to Gora which can be seen
here
https://github.com/apache/gora/pull/47
Thanks again for the pointers Ignasi.
Best
Lewis

On Mon, Dec 7, 2015 at 5:09 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Hi Folks,
> A quick follow up here, I have been working on this code as a side project
> and have now got something which is functional and which also updates the
> code implementation at
> https://jclouds.apache.org/guides/chef/
> I'll try to send a patch to update this code example once I have a full
> working implementation.
> Best
> Lewis
>
>
> On Tue, Nov 24, 2015 at 8:19 AM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> Ignasi this is extremely helpful, thank you so much.
>> Lewis
>>
>>
>> On Tuesday, November 24, 2015, Ignasi Barrera <nacx@apache.org> wrote:
>>
>>> Hi Lewis,
>>>
>>> I would recommend you use the portable abstraction, as it provides the
>>> "runScriptOnNode" methods that will make very easy to run scripts (and
>>> Chef) on the nodes. You don't have to provision the nodes using the
>>> abstraction; the only thing you need to call the runScript methods is
>>> the node id, so you should be able to use it with your current code.
>>>
>>> Back to your questions:
>>>
>>> > 1. Does Chef need to be installed on every single machine? If so, how
>>> do I
>>> > do this?
>>>
>>> No. When you generate the bootstrap script using the methods in the
>>> ChefService as described in the Chef guide, the resulting statement
>>> will already contain the instructions to install Chef if it is not yet
>>> installed on the node.
>>>
>>> > 2. Is it possible to combine JClouds Rackspace orchestration with the
>>> Chef
>>> > Server API?
>>>
>>> Absolutely. Both APIs are independent. The only integration point is
>>> that the ChefService provides a simple helper method to generate a
>>> Statement the ComputeService understands to run all the configured
>>> Chef bootstrap. You can think about it as the "java version of the
>>> knife bootstrap' command".
>>>
>>> > 3. Should I be combining the JClouds compute portable API with the
>>> Chef API
>>> > to bootstrap nodes (as per [2]) instead of using the code I've already
>>> > written?
>>>
>>> I think this is already answered now :)
>>>
>>>
>>>
>>> HTH!
>>>
>>> I.
>>>
>>
>>
>> --
>> *Lewis*
>>
>>
>
>
> --
> *Lewis*
>



-- 
*Lewis*

Mime
View raw message