Re: using the new bundle features in Juju 2.2.3

2017-09-18 Thread Junaid Ali
> > I think the big thing as you note is that it's charm.key=value to hit the > right place. And since you can do things like change unit/constriants/etc > it's a much more complicated syntax. Makes sense. Keeping it simple is a good approach at the moment. -- Junaid On Mon, Sep 18, 2017 at 7

Re: using the new bundle features in Juju 2.2.3

2017-09-18 Thread Rick Harding
On Sun, Sep 17, 2017 at 12:59 AM Junaid Ali wrote: > > 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 > Hmm, I wonder if the --bundle-config can be either a file or a k=v pairing like we do with the charm deploy where you

Re: using the new bundle features in Juju 2.2.3

2017-09-18 Thread Rick Harding
On Sat, Sep 16, 2017 at 3:23 AM Patrizio Bassi 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 :) > Having IP addresses in there is something that are so specific from on

Re: using the new bundle features in Juju 2.2.3

2017-09-16 Thread Junaid Ali
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 wrot

Re: using the new bundle features in Juju 2.2.3

2017-09-16 Thread Patrizio Bassi
+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 : > > > On 15 set 2017, at 16:46, Rick Harding > wrote: > > > > On Fri, Sep 15, 20

Re: using the new bundle features in Juju 2.2.3

2017-09-16 Thread Giuseppe Attardi
> On 15 set 2017, at 16:46, Rick Harding wrote: > > On Fri, Sep 15, 2017 at 10:33 AM Giuseppe Attardi > 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 dat

Re: using the new bundle features in Juju 2.2.3

2017-09-15 Thread Rick Harding
On Fri, Sep 15, 2017 at 10:33 AM Giuseppe Attardi 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? -- Juju mailing list Ju

Re: using the new bundle features in Juju 2.2.3

2017-09-15 Thread Giuseppe Attardi
Is it possible to use variables in the bundle defined in the bundle-config? — > On 15 set 2017, at 14:00, juju-requ...@lists.ubuntu.com wrote: > > From: Rick Harding > > To: juju mailto:juju@lists.ubuntu.com>> > Subject: using the new bundle features in Juju 2