Issue #22290 has been updated by Lee Lowder.

Assignee deleted (Lee Lowder)

The specific facts that are failing in this instance are:

ipaddress__vdsmdummy_
mtu__vdsmdummy_
netmask__vdsmdummy_
network__vdsmdummy_

The network factis generated by 
<https://github.com/puppetlabs/facter/blob/1.7.3/lib/facter/network.rb>.

For the name of the fact, it is munged - `Facter.add("network_" + 
Facter::Util::IP.alphafy(interface)) do` but for finding the value, it is not: 
`Facter::Util::IP.get_network_value(interface)`

I suspect that something similar is happening with the other facts, but I have 
not been able to rack them down fully yet.

It may be enough to either implement or make use of an existing shell quote 
functionality for these facts, but that is beyond my ability.

The same code for the network_<interface> fact is also in 2.0.0-RC4.
`

----------------------------------------
Bug #22290: facter fails when on non standard nic
https://projects.puppetlabs.com/issues/22290#change-98699

* Author: Ohad Basan
* Status: Investigating
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Keywords: customer 
* Branch: 
* Affected Facter version: 1.6.18
----------------------------------------
I have a nic with a ";" - ;vdsmdummy;
when running facter
multiple errors appear
sh: -c: line 0: `/sbin/arp -en -i ;vdsmdummy; | sed -e 1d'
when facter generates this "arp" command if there's ";" in the nic name it 
should be escaped 
\;vdsmdummy\;

thanks



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to