Re: How to deploy the same charm with different name?
fengxia
fxia1 at lenovo.com
Tue Sep 5 14:04:54 UTC 2017
Ah, how wonderful!
On 09/04/2017 03:56 PM, Tom Barber wrote:
> simply:
>
> juju deploy [charm] newcharmname
>
> is what you're after.
>
> Tom
>
> On Mon, Sep 4, 2017 at 8:49 PM, fengxia <fxia1 at lenovo.com
> <mailto:fxia1 at lenovo.com>> wrote:
>
> Hi Juju,
>
> Previously, I was able to define two charms in bundle, both have
> `charm` (the path to charm files) set to the same location, but
> with different names, and `juju deploy this-bundle` will create
> two applications.
>
> For example (bundle):
>
> Sevices:
>
> A:
>
> charm: ./trusty/mycharm
>
> .....
>
> B:
>
> charm: ./trusty/mycharm
>
> Deploying this will create two applications, named "A" and "B".
>
> How to achieve this using two-step $ juju deploy [charm]
> commandline instead? On the second time Juju complained that
> application "mycharm" already exist.
>
>
> --
> Feng xia
> Engineer
> Lenovo USA
>
> Phone: 5088011794 <tel:5088011794>
> fxia1 at lenovo.com <mailto:fxia1 at lenovo.com>
>
> Lenovo.com
> Twitter | Facebook | Instagram | Blogs | Forums
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
> <https://lists.ubuntu.com/mailman/listinfo/juju>
>
>
>
>
> --
> Tom Barber
> CTO Spicule LTD
> tom at spicule.co.uk <mailto:tom at spicule.co.uk>
>
> http://spicule.co.uk
>
> @spiculeim <http://twitter.com/spiculeim>
>
> Schedule a meeting with me <http://meetme.so/spicule>
>
> GB: +44(0)5603641316 <tel:+44%2056%200364%201316>
> US: +18448141689 <tel:%28844%29%20814-1689>
>
> <https://leanpub.com/juju-cookbook>
--
Feng xia
Engineer
Lenovo USA
Phone: 5088011794
fxia1 at lenovo.com
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170905/dc31b11c/attachment.html>
More information about the Juju
mailing list