[facter]Bug can't get : ipaddress_ethX

22 views
Skip to first unread message

AnOnJoe

unread,
Nov 28, 2012, 12:06:54 PM11/28/12
to puppet...@googlegroups.com
Hello,
I have a problem with facter :

eg:
facter |grep ipaddress_eth1
ipaddress_eth0 => 192.168.0.254
works

but
facter ipaddress_eth1
return nothing

Do you know how I can work with this ?

thx

AnOnJoe

unread,
Nov 28, 2012, 12:14:47 PM11/28/12
to puppet...@googlegroups.com
sorry there is a typo :

Le mercredi 28 novembre 2012 18:06:54 UTC+1, AnOnJoe a écrit :
Hello,
I have a problem with facter :

eg:
facter |grep ipaddress_eth1
ipaddress_eth1 => 192.168.0.254

Matthaus Owens

unread,
Nov 28, 2012, 2:29:09 PM11/28/12
to puppet...@googlegroups.com
Which facter version are you seeing this on? (`facter --version`)
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/db0413060ncJ.
>
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.



--
Matthaus Owens
Release Manager, Puppet Labs

Eduardo A Muñoz

unread,
Nov 28, 2012, 3:17:47 PM11/28/12
to puppet...@googlegroups.com
Haven"t read the code yet...

But cmd facter xx executes the xx plugin and print the return value. the ipaddress_ethX are part of the ipaddress plugin that is the one that should be executed. Nonetheless as the ipaddress plugin register the ipaddress_ethX facters they would not show either.

AnOnJoe

unread,
Nov 28, 2012, 3:23:25 PM11/28/12
to puppet...@googlegroups.com
facter --version
1.5.7


2012/11/28 Matthaus Owens <matt...@puppetlabs.com>

AnOnJoe

unread,
Nov 28, 2012, 3:41:11 PM11/28/12
to puppet...@googlegroups.com
I have upgraded my facter version : 
facter --version
1.6.9

It's now working like a charm

Thx.
Reply all
Reply to author
Forward
0 new messages