Bare in mind that there are substrates that do not provide an FQDN (HPCloud as an example), so it may or may not work 100% fine.
On 11/09/2014 08:09 PM, Andrew Wilkins wrote: > On Sun, Nov 9, 2014 at 7:16 AM, Sameer Zeidat <same...@yahoo.com > <mailto:same...@yahoo.com>> wrote: > > Thanks. No, just curious. The documentation web page still shows an > ip address. > > Now, IMHO, it might have been better to add another call instead > (e.g. unit-get private-fqdn). > > > There has been talk of adding a different hook tool command for > enquiring about addresses ("address-get" was the name bandied about), to > support additional networks. When that comes about, I think it may make > sense to enable charms to enquire about all the addresses they have, and > enable filtering on address types (IPv4, IPv6, FQDN). > > Regards, > Sameer > ------------------------------------------------------------------------ > From: Andrew Wilkins <mailto:andrew.wilk...@canonical.com> > Sent: 7/11/2014 3:25 PM > To: Sameer Zeidat <mailto:same...@yahoo.com> > Cc: juju <mailto:juju@lists.ubuntu.com> > Subject: Re: Unit-get > > Hi Sameer, > > The behaviour changed a few months ago to address a bug: > https://bugs.launchpad.net/juju-core/+bug/1353442 > > Is this causing you problems, or were you just surprised/curious? > > Cheers, > Andrew > > On Wed, Nov 5, 2014 at 8:09 PM, Sameer Zeidat <same...@yahoo.com > <mailto:same...@yahoo.com>> wrote: > > Hi, > > I bootstrapped juju stable today on maas stable. When deploying > a charm I wrote I noticed unit-get private-address is returning > the machine's fqdn. > > Previously it used to return the ip address (several months ago, > can't remember the exact juju/maas versions). > > Has juju changed behaviour? Or is this not expected, i.e. an > issue in my environment? > > Appreciating your time. > > Thanks, > Sameer > > -- > Juju mailing list > Juju@lists.ubuntu.com <mailto:Juju@lists.ubuntu.com> > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju > > > > > -- José Antonio Rey -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju