On Sun, Nov 9, 2014 at 7:16 AM, Sameer Zeidat <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 <andrew.wilk...@canonical.com>
> Sent: ‎7/‎11/‎2014 3:25 PM
> To: Sameer Zeidat <same...@yahoo.com>
> Cc: juju <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> 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
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to