On 6 November 2017 at 17:24, roger peppe <[email protected]> wrote:
> juju deploy --to 3=0,4=3
Also, looking further forward, I'd like to see more informative
machine names in bundles, because with a command line like the above,
it's not clear what the purpose of the assigned machines might be.
It'd be nicer, I think, to be able to say:
juju deploy --to database=0,backend=1
The main awkwardness with that is that it's already possible to use
application names in the "to" field of a bundle's application
specification, so there's an ambiguity. That could be resolved by
using some disambiguating syntax in the bundle (e.g. a leading '#' on
machine names).
So a bundle might look like:
machines:
database:
backend:
applications:
wordpress:
charm: wordpress
num_units: 1
to: '#database'
mysql:
charm: mysql
num_units: 1
to: '#backend'
relations:
- ["wordpress:db", "mysql:server"]
rog.
--
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju-dev