Automatic tools-upload/sync during bootstrap

Ian Booth ian.booth at canonical.com
Fri Oct 11 07:23:09 UTC 2013



On Fri 11 Oct 2013 16:53:45 EST, Ian Booth wrote:
>>>>  - Remove the option to specify a tools source. If you really want to do
>>>> that, use juju sync-tools.
>>>>
>>>
>>> You mean tools-url in config? We need this to allow private clouds (and
>>> anyone
>>> else) to serve the tools using an arbitary http server (or from a shared
>>> directory). In any case, sync-tools only copies to the private storage
>>> (for ec2
>>> and openstack at least)  and such tools are not generally available to
>>> anyone
>>> else. The tools-url is intended to be configured with a shared public
>>> location
>>> from which  to get tools. So for the above reasons, we need to keep this
>>> option.
>>>
>>
>> I was referring to "juju bootstrap --source=<local-path>" for syncing.
>> tools-url should definitely stay.
>>
>
> Ah ok.
>
> --source is needed because it allows people (and the release tools) to put the
> tools tarballs in a local directory and upload from there.
>

Crossed wires again. I thought Andrew was talking about --source for the
sync-tools command. But what was being discussed is --source for the bootstrap
command. In that case, I'm +1 for removing it. To be honest, I didn't even
realise bootstrap had a --source option.



More information about the Juju-dev mailing list