using the new bundle features in Juju 2.2.3
Junaid Ali
junaidali at xgrid.co
Sun Sep 17 04:57:32 UTC 2017
I used to go with yaml 'anchors' like Giuseppe. +1 for bundle-config flag
since that is a cleaner approach IMO.
It would be great if we can pass a single value as well e.g juju deploy
./bundle.yaml test-charm.admin-ip=172.31.81.203
--
Junaid
On Sat, Sep 16, 2017 at 12:22 PM, Patrizio Bassi <patrizio.bassi at gmail.com>
wrote:
> +1 from my side.
>
> At the moment i have 3 bundles, dev, qa and prod which differ only by IPs
> and unit number
> It would be great to have a dynamic filled bundle :)
>
> Patrizio
>
> 2017-09-16 9:02 GMT+02:00 Giuseppe Attardi <giuseppe.attardi at garr.it>:
>
>>
>> > 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.
>>
>> —
>>
>>
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
>
>
> --
>
> Patrizio Bassi
> www.patriziobassi.it
> http://piazzadelpopolo.patriziobassi.it
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170917/3563196d/attachment.html>
More information about the Juju
mailing list