Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Peter Huene
On Tue, Jul 21, 2015 at 12:26 PM, Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > > > If you have access to Facter 2.x on this same system, I'd be curious to > see if it would output the secondary interface / address information. If > not, I think we could consider Facter's 3.x behavior

Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Fabrice Bacchella
> > > If you have access to Facter 2.x on this same system, I'd be curious to see > if it would output the secondary interface / address information. If not, I > think we could consider Facter's 3.x behavior to be a bug and fix it by > moving the secondary interfaces to where they belong. On

Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Peter Huene
On Tue, Jul 21, 2015 at 11:47 AM, Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > > > Le 21 juil. 2015 à 20:33, Peter Huene a > écrit : > > > > > Thus there would be no "eth0:1" in the interfaces list; it would just > show up as the first element in the secondary array. e.g. eth0:1 bec

Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Fabrice Bacchella
> Le 21 juil. 2015 à 20:33, Peter Huene a écrit : > > Thus there would be no "eth0:1" in the interfaces list; it would just show up > as the first element in the secondary array. e.g. eth0:1 becomes > eth0.secondary.0, eth0:2 becomes eth0.secondary.1, etc. > > Thoughts on this approach? It

Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Peter Huene
On Tue, Jul 21, 2015 at 11:06 AM, Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > I agree that Facter could do a better job merging the secondary > "interface" into the primary one here. It shares the networking fact code > with a few other platforms (mainly OSX and the BSDs) and it cur

Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Fabrice Bacchella
> I agree that Facter could do a better job merging the secondary "interface" > into the primary one here. It shares the networking fact code with a few > other platforms (mainly OSX and the BSDs) and it currently doesn't do any > specific logic for Linux to merge bonded interfaces together. >

Re: [Puppet Users] facter 3 and linux disagree about interfaces

2015-07-21 Thread Peter Huene
On Tue, Jul 21, 2015 at 9:50 AM, Fabrice Bacchella < fabrice.bacche...@orange.fr> wrote: > On a linux, if I enumerate interfaces using standards tools I get : > ~# ip link list > 1: lo: mtu 65536 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: eth0: m