Issue #2297 has been updated by Willem Jan Withagen.
Willem Jan Withagen wrote:
> Running facter 1.5.4 on FreeBSD 7.2 i386 it reports a lot of:
> ifconfig: interface em1: does not exist
>
> Which is most likely due to the interfacename still having the ':' behind it:
>
> # ifconfig doesnotexist
> ifconfig: interface doesnotexist does not exist
>
> So i'd expect the ':' part of the interface on the call in facter.
>
> This all actually to get a resolution for my other problem:
>
> [...]
>
> Note that facter on 7.2 amd64 does not report this error....
> and
> [...]
Paul:
I've looked at your pseudo-code and under (FreeBSD) is the easiest way of
getting the list with interfaces:
<pre>
# ifconfig -l
em0 em1 lo0 tun0
</pre>
And my current ifconfig output is:
<pre>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:30:48:76:27:dc
inet6 fe80::230:48ff:fe76:27dc%em0 prefixlen 64 scopeid 0x1
inet xx.xx.xx.xx netmask 0xffffffe0 broadcast xx.xx.xx.xx
inet xx.xx.xx.xx netmask 0xffffffe0 broadcast xx.xx.xx.xx
inet 192.168.10.75 netmask 0xffffff00 broadcast 192.168.10.255
inet6 2001:xxxx:x::1 prefixlen 48
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:30:48:76:27:dd
inet6 fe80::230:48ff:fe76:27dd%em1 prefixlen 64 scopeid 0x2
inet xx.xx.xx.xx netmask 0xfffffff8 broadcast xx.xx.xx.xx
inet6 2001:xxxx:x:xxx::2 prefixlen 64
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
inet6 fe80::230:48ff:fe76:27dc%tun0 prefixlen 64 scopeid 0x4
inet 192.168.254.1 --> 192.168.254.2 netmask 0xffffffff
Opened by PID 1411
</pre>
----------------------------------------
Bug #2297: facter gives ipconfig errors on FreeBSD
http://projects.reductivelabs.com/issues/2297
Author: Willem Jan Withagen
Status: Needs more information
Priority: Normal
Assigned to: Paul Nasrat
Category: library
Target version:
Complexity: Unknown
Keywords:
Running facter 1.5.4 on FreeBSD 7.2 i386 it reports a lot of:
ifconfig: interface em1: does not exist
Which is most likely due to the interfacename still having the ':' behind it:
# ifconfig doesnotexist
ifconfig: interface doesnotexist does not exist
So i'd expect the ':' part of the interface on the call in facter.
This all actually to get a resolution for my other problem:
<pre>
fileserver.describe: #<RuntimeError: HTTP-Error: 500 Internal Server Error >
</pre>
Note that facter on 7.2 amd64 does not report this error....
and
<pre>
</pre>
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---