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 <fx...@lenovo.com <mailto:fx...@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>
    fx...@lenovo.com <mailto:fx...@lenovo.com>

    Lenovo.com
    Twitter | Facebook | Instagram | Blogs | Forums


-- Juju mailing list
    Juju@lists.ubuntu.com <mailto:Juju@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
t...@spicule.co.uk <mailto:t...@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
fx...@lenovo.com
        
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to