Juju 2.3 beta2 is here!
Tim Penhey
tim.penhey at canonical.com
Thu Nov 9 23:20:21 UTC 2017
On 10/11/17 12:12, Dmitrii Shcherbakov wrote:
> It's situations like the following that I am trying to avoid:
>
> rabbitmq-server:
> charm: cs:xenial/rabbitmq-server
> bindings:
> "": *oam-space
> amqp: *internal-space
> cluster: *internal-space
> options:
> source: *openstack-origin
> min-cluster-size: 3
> cluster-partition-handling: pause_minority
> num_units: 3
> to:
> - lxd:0
> - lxd:1
> - lxd:2
>
> serialized by hand to: juju deploy rabbitmq-server --config
> ../rabbitmq.yaml -n 3 --to lxd:0,lxd:1,lxd:12 --bind "space-oam
> amqp=space-oam cluster=space-oam"
>
> cat ../rabbitmq.yaml
> rabbitmq-server:
> source: cloud:xenial-ocata
> min-cluster-size: 3
> cluster-partition-handling: pause_minority
>
> Which includes brain-parsing the definition, serializing it to
> <appname>.yaml + -n <n> --to <placement> --bind <spaces>
I don't understand what it is you are trying to avoid here?
What is it you are trying to do?
Tim
More information about the Juju-dev
mailing list