[racktables-users] Re: Patch for contrib/facter.php

  • From: Neil Scholten <neil.scholten@xxxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Wed, 31 Aug 2011 15:57:48 +0200

Hi There,

I've done some more modifications to facter.php, the patch is attached.

This has been tested with facter 1.6, racktables 0.19.6.
I've tested server and vm
server has been: Dell PowerEdge R815 (CentOS6)
VM has been KVM (CentOS6)

Changelog:

2011-08-31 modified by Neil Scholten <neil.scholten@xxxxxxxxxx>

- removed the break for undocumented interfaces bc it'll break the for loop

- added some more ignored interfaces (don't document
bridges|bond|vnet(kvm) unless they have a valid IP

- matching for Objects enhanced with match by serial number, so you can
adjust your common name if necessary

- Adjusted productname (for Dell and probably others) to match the presets.

- We don't touch already existing complex ports (iif_id = 9) due to BUG:
//www.freelists.org/post/racktables-users/Copy-Objects,2
-- 
Mit freundlichen Grüßen / Kind Regards

Neil Scholten
System Architekt

gamigo AG
Behringstraße 16 b
D-22765 Hamburg
neil.scholten@xxxxxxxxxx
Fon +49 (0)40 – 411 885 - 218
Fax +49 (0)40 – 411 885 - 256

www.gamigo.de // www.gamigo.com

Vorstand: Rainer Markussen, Patrick Streppel
Aufsichtsrat: Dr. Bodo Thielmann (Vorsitzender)
Amtsgericht Hamburg HRB 105628
gamigo AG, a leading European MMOG publisher, is a subsidiary of Axel
Springer AG (www.axelspringer.com)

2011/8/30 Denis Ovsienko <infrastation@xxxxxxxxx>

> 30.08.2011, 10:11, "Gjermund Jensvoll" <Gjermund.Jensvoll@xxxxxx>:
> > I've tested Neils patch, works great.
>
> OK, it's in SVN now.
>
> --
>     Denis Ovsienko
>
>

Other related posts: