Issue #16326 has been reported by Claude Durocher.
----------------------------------------
Bug #16326: facter ipaddress returns 127.0.0.1 on Ubuntu 12.04
https://projects.puppetlabs.com/issues/16326
Author: Claude Durocher
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Keywords:
Branch:
Affected Facter version: 2.0.0rc3
Running facter 2.0 on ubuntu 12.04. "facter ipaddress" returns 127.0.0.1 on
some workstations (returns the correct address on others but can't find why).
Looks like a language problem since setting LC_ALL=C seems to solve the issue :
root@ubuntu:~# locale
LANG=fr_CA.UTF-8
LANGUAGE=fr_CA:
LC_CTYPE="fr_CA.UTF-8"
LC_NUMERIC=fr_CA.UTF-8
LC_TIME=fr_CA.UTF-8
LC_COLLATE="fr_CA.UTF-8"
LC_MONETARY=fr_CA.UTF-8
LC_MESSAGES="fr_CA.UTF-8"
LC_PAPER=fr_CA.UTF-8
LC_NAME=fr_CA.UTF-8
LC_ADDRESS=fr_CA.UTF-8
LC_TELEPHONE=fr_CA.UTF-8
LC_MEASUREMENT=fr_CA.UTF-8
LC_IDENTIFICATION=fr_CA.UTF-8
LC_ALL=
root@ubuntu:~# facter ipaddress
127.0.1.1
root@ubuntu:~# export LC_ALL=C
root@ubuntu:~# facter ipaddress
10.23.3.84
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.