using the new bundle features in Juju 2.2.3

Giuseppe Attardi giuseppe.attardi at garr.it
Sat Sep 16 07:02:48 UTC 2017


> On 15 set 2017, at 16:46, Rick Harding <rick.harding at canonical.com> wrote:
> 
> On Fri, Sep 15, 2017 at 10:33 AM Giuseppe Attardi <giuseppe.attardi at garr.it> wrote:
> Is it possible to use variables in the bundle defined in the bundle-config?
> 
> Not currently no, there's no string substitution in there. Are you looking for model specific data to make it in? Or some other input?  

What we do in our bundles is this:

variables:
  network-space-pub: &network_space_pub  space-pub
  …

services:
  keystone:
    bindings:
      public: *network_space_pub
     …
  openstack-dashboard:
    bindings:
      shared-db: *network_space_os_mgmt
      cluster: *network_space_os_mgmt
      website: *network_space_pub

It would be nice to place these variable definitions in the bundle-config file.

—





More information about the Juju mailing list