Re: Juju 2.3 beta2 is here!

2017-11-09 Thread roger peppe
I still like the idea of overloading the --to flag rather than having a new --map-machines flag. It's concise and fits well, I think - we want the machines in this bundle to mapped *to* the machines we're specifying here. I like the thrust of Tim's suggestion for "existing" but I'm not entirely

Re: Juju 2.3 beta2 is here!

2017-11-09 Thread Dmitrii Shcherbakov
I think it's nice to reuse --to because we don't use it with bundles on juju deploy. A unified --map[-machines] would also be fine to me. := ( | )=( | ) --to ([,]+[,:] ) | : Remap two, otherwise use existing: --to 1=2,3=5,: The same with app names, but have to error out on lxd:1 or kvm:5 in a

Re: Juju 2.3 beta2 is here!

2017-11-09 Thread Tim Penhey
No we aren't going to reuse --to. The --to directive is just for placement directives. Trying to use that to overload machine mappings for bundles adds complexity for no real value. We will use --map-machines. I'm a big proponent of explicit is better than implicit. While I'm not 100% fixed on

Re: Juju 2.3 beta2 is here!

2017-11-09 Thread Tim Penhey
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: >      

Re: Juju 2.3 beta2 is here!

2017-11-09 Thread Dmitrii Shcherbakov
Tim, Whichever works best in terms of code-base clarity and stability - it's hard to debug spaghetti code with lots of overrides so fully agreed on --to. "existing" sounds good to me. I only have to do it once and it's easy to remember. Extra 3 characters to type are irrelevant when you type 300

how to bind to the default space in a bundle

2017-11-09 Thread James Beedy
Is it possible to accomplish the following using a bundle? `juju deploy --bind "default-space db=db-space db-admin=admin-space" mysql` thanks -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev

Juju 2.3 beta3 is here!

2017-11-09 Thread Chris Lee
A new development release of Juju is here, 2.3-beta3. This is primarily a bug fix release which addresses issues carried over from beta2. ## New and Improved * A new command "remove-saas", aliased to "remove-consumed-application", is added to remove a SAAS entry from a consuming model. *