FAQ
Hello,

facter (1.6.13) doesn't seem to get AIX netmask correctly (example.
ifconfig -a output:
en0:
flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
inet 193.167.224.XXX netmask 0xffffff00 broadcast 193.167.224.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0:
flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
)

facter doesn't show anything for netmask / network.

Attached patch should address this. With the patch I get:
netmask_en0 => 255.255.255.0
netmask_lo0 => 255.0.0.0
network_en0 => 193.167.224.0
network_lo0 => 127.0.0.0

-Jarno Huuskonen

--
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/-/1AFUmPFfIFMJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedOct 19, '12 at 11:11a
activeOct 19, '12 at 11:11a
posts1
users1
websitepuppetlabs.com

1 user in discussion

Jarno Huuskonen: 1 post

People

Translate

site design / logo © 2022 Grokbase