How to deploy the same charm with different name?

fengxia fxia1 at lenovo.com
Mon Sep 4 19:49:05 UTC 2017


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
fxia1 at lenovo.com
  	
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums




More information about the Juju mailing list