I've finally gotten around to releasing Facter 1.5.
As the version bump implies, this is a relatively significant release (for a 2.3k line program, anyway). Mostly, the biggest change is refactoring the code internally so that all of the functionality is split into separate classes in separate files.
Also, the facts are all loaded on-demand, which provides dramatic speedups for printing individual facts, but generally doesn't affect how Puppet and Facter interact, other than making it possible for Facter to load facts that Puppet syncs via its pluginsync.
Here's the ChangeLog:
Fixed #1400 - OperatingSystemRelease should now work on CentOS
Changed 'timeout' option to 'limit' to avoid scope issue
Fixes #1376 - Display memory facts for AIX
Fixes #1334 - Forced Facter to use LANG=C
Fixes #1357 - Change ps syntax for OSX and BSD
Set the timeout on the AIX kernelrelease fact to 5 seconds.
Refactored so each fact resolution can specify a separate timeout, but the default is still 0.5.
Refactered ipmess.rb and util/ip.rb to support separate *BSD logic for *BSD aliased interfaces.
Updated dmidecode facts fixing ticket #60
Added AIX support for some facts
Add lsbmajdistrelease fact for CentOS and Red Hat
Updated Red Hat spec file for new version The 'facter' executable now has an option (-p|--puppet) for loading the Puppet libraries, which gives it access to Puppet's facts.
Added autoloading to Facter with a default of not loading all facts, which results in a significant speedup when only one fact is sought. Facts are autoloaded in either a single file named after the fact or in any file in a directory named after the fact.
Significantly refactored Facter's internals, including creating tests for all internal classes.
A netmask fact has been added closing ticket #46. It only returns the netmask of the primary interface (in the same behaviour as the ipaddress and macaddress facts).
Facts to return multiple interfaces on a host have also been updated. If you have multiple interfaces on Linux, *BSD, or Solaris/SunOS you will now get facts for each interface's IP address, MAC address and netmask. The facts will be structured like: ipaddress_int = 10.0.0.x macaddress_int = xx:xx:xx:xx netmask_int = 255.255.255.0
Facter now identifies Ubuntu hosts and their releases using the operatingsystem and operatingsystemrelease facts.
The Debian operatingsystemrelease fact now correctly returns the current Debian release.
Fixed ticket #48 - ioperatingsystem and operatingsystemrelease for CentOS
Fixed ticket #44 and allowed support for Xen multiple interfaces and aliased interfaces. Supports both Linux and *BSD.
Added interfaces fact to add as index for ip/MAC address facts
Added Mandrake support for operatingsystem fact - closed ticket #47
Fixed ticket #45
Added netmask.rb closing ticket #46
-- Morgan's Second Law: To a first approximation all appointments are canceled. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
> I've finally gotten around to releasing Facter 1.5.
> As the version bump implies, this is a relatively significant release
> (for a 2.3k line program, anyway). Mostly, the biggest change is
> refactoring the code internally so that all of the functionality is
> split into separate classes in separate files.
> Also, the facts are all loaded on-demand, which provides dramatic
> speedups for printing individual facts, but generally doesn't affect
> how Puppet and Facter interact, other than making it possible for
> Facter to load facts that Puppet syncs via its pluginsync.
> Here's the ChangeLog:
> Fixed #1400 - OperatingSystemRelease should now work on CentOS
> Changed 'timeout' option to 'limit' to avoid scope issue
> Fixes #1376 - Display memory facts for AIX
> Fixes #1334 - Forced Facter to use LANG=C
> Fixes #1357 - Change ps syntax for OSX and BSD
> Set the timeout on the AIX kernelrelease fact to 5 seconds.
> Refactored so each fact resolution can specify a separate timeout,
> but the default is still 0.5.
> Refactered ipmess.rb and util/ip.rb to support separate *BSD
> logic for
> *BSD aliased interfaces.
> Updated dmidecode facts fixing ticket #60
> Added AIX support for some facts
> Add lsbmajdistrelease fact for CentOS and Red Hat
> Updated Red Hat spec file for new version
> The 'facter' executable now has an option (-p|--puppet) for
> loading the
> Puppet libraries, which gives it access to Puppet's facts.
> Added autoloading to Facter with a default of not loading all
> facts,
> which results in a significant speedup when only one fact is
> sought.
> Facts are autoloaded in either a single file named after the fact
> or
> in any file in a directory named after the fact.
> Significantly refactored Facter's internals, including creating
> tests
> for all internal classes.
> A netmask fact has been added closing ticket #46. It only
> returns the
> netmask of the primary interface (in the same behaviour as the
> ipaddress
> and macaddress facts).
> Facts to return multiple interfaces on a host have also been
> updated.
> If you have multiple interfaces on Linux, *BSD, or Solaris/SunOS
> you will
> now get facts for each interface's IP address, MAC address and
> netmask.
> The facts will be structured like:
> ipaddress_int = 10.0.0.x
> macaddress_int = xx:xx:xx:xx
> netmask_int = 255.255.255.0
> Facter now identifies Ubuntu hosts and their releases using the
> operatingsystem and operatingsystemrelease facts.
> The Debian operatingsystemrelease fact now correctly returns the
> current
> Debian release.
> Fixed ticket #48 - ioperatingsystem and operatingsystemrelease
> for CentOS
> Fixed ticket #44 and allowed support for Xen multiple interfaces
> and aliased
> interfaces. Supports both Linux and *BSD.
> Added interfaces fact to add as index for ip/MAC address facts
> Added Mandrake support for operatingsystem fact - closed ticket #47
> Fixed ticket #45
> Added netmask.rb closing ticket #46
> --
> Morgan's Second Law:
> To a first approximation all appointments are canceled.
> ---------------------------------------------------------------------
> Luke Kanies |http://reductivelabs.com|http://madstop.com
> On Jul 8, 12:52 am, Luke Kanies <l...@madstop.com> wrote:
> > Hi all,
> > I've finally gotten around to releasing Facter 1.5.
> > As the version bump implies, this is a relatively significant release
> > (for a 2.3k line program, anyway). Mostly, the biggest change is
> > refactoring the code internally so that all of the functionality is
> > split into separate classes in separate files.
> > Also, the facts are all loaded on-demand, which provides dramatic
> > speedups for printing individual facts, but generally doesn't affect
> > how Puppet and Facter interact, other than making it possible for
> > Facter to load facts that Puppet syncs via its pluginsync.
> > Here's the ChangeLog:
> > Fixed #1400 - OperatingSystemRelease should now work on CentOS
> > Changed 'timeout' option to 'limit' to avoid scope issue
> > Fixes #1376 - Display memory facts for AIX
> > Fixes #1334 - Forced Facter to use LANG=C
> > Fixes #1357 - Change ps syntax for OSX and BSD
> > Set the timeout on the AIX kernelrelease fact to 5 seconds.
> > Refactored so each fact resolution can specify a separate timeout,
> > but the default is still 0.5.
> > Refactered ipmess.rb and util/ip.rb to support separate *BSD
> > logic for
> > *BSD aliased interfaces.
> > Updated dmidecode facts fixing ticket #60
> > Added AIX support for some facts
> > Add lsbmajdistrelease fact for CentOS and Red Hat
> > Updated Red Hat spec file for new version
> > The 'facter' executable now has an option (-p|--puppet) for
> > loading the
> > Puppet libraries, which gives it access to Puppet's facts.
> > Added autoloading to Facter with a default of not loading all
> > facts,
> > which results in a significant speedup when only one fact is
> > sought.
> > Facts are autoloaded in either a single file named after the fact
> > or
> > in any file in a directory named after the fact.
> > Significantly refactored Facter's internals, including creating
> > tests
> > for all internal classes.
> > A netmask fact has been added closing ticket #46. It only
> > returns the
> > netmask of the primary interface (in the same behaviour as the
> > ipaddress
> > and macaddress facts).
> > Facts to return multiple interfaces on a host have also been
> > updated.
> > If you have multiple interfaces on Linux, *BSD, or Solaris/SunOS
> > you will
> > now get facts for each interface's IP address, MAC address and
> > netmask.
> > The facts will be structured like:
> > ipaddress_int = 10.0.0.x
> > macaddress_int = xx:xx:xx:xx
> > netmask_int = 255.255.255.0
> > Facter now identifies Ubuntu hosts and their releases using the
> > operatingsystem and operatingsystemrelease facts.
> > The Debian operatingsystemrelease fact now correctly returns the
> > current
> > Debian release.
> > Fixed ticket #48 - ioperatingsystem and operatingsystemrelease
> > for CentOS
> > Fixed ticket #44 and allowed support for Xen multiple interfaces
> > and aliased
> > interfaces. Supports both Linux and *BSD.
> > Added interfaces fact to add as index for ip/MAC address facts
> > Added Mandrake support for operatingsystem fact - closed ticket #47
> > Fixed ticket #45
> > Added netmask.rb closing ticket #46
> > --
> > Morgan's Second Law:
> > To a first approximation all appointments are canceled.
> > ---------------------------------------------------------------------
> > Luke Kanies |http://reductivelabs.com|http://madstop.com
Interesting snippet though, and I'm sure this has probably come up before (plus, it's not your package Gary, it's facter) - the netmask for interfaces on Solaris are listed as they are in 'ifconfig', e.g. ffffffff00.
> On Jul 10, 1:31 pm, Jeff Leggett <jeffrey.legg...@etrade.com> wrote: > > Anyone roll a RH5/CentoS5 RPM yet by chance?
> > On Jul 8, 12:52 am, Luke Kanies <l...@madstop.com> wrote:
> > > Hi all,
> > > I've finally gotten around to releasing Facter 1.5.
> > > As the version bump implies, this is a relatively significant release > > > (for a 2.3k line program, anyway). Mostly, the biggest change is > > > refactoring the code internally so that all of the functionality is > > > split into separate classes in separate files.
> > > Also, the facts are all loaded on-demand, which provides dramatic > > > speedups for printing individual facts, but generally doesn't affect > > > how Puppet and Facter interact, other than making it possible for > > > Facter to load facts that Puppet syncs via its pluginsync.
> > > Here's the ChangeLog:
> > > Fixed #1400 - OperatingSystemRelease should now work on CentOS
> > > Changed 'timeout' option to 'limit' to avoid scope issue
> > > Fixes #1376 - Display memory facts for AIX
> > > Fixes #1334 - Forced Facter to use LANG=C
> > > Fixes #1357 - Change ps syntax for OSX and BSD
> > > Set the timeout on the AIX kernelrelease fact to 5 seconds.
> > > Refactored so each fact resolution can specify a separate timeout, > > > but the default is still 0.5.
> > > Refactered ipmess.rb and util/ip.rb to support separate *BSD > > > logic for > > > *BSD aliased interfaces.
> > > Updated dmidecode facts fixing ticket #60
> > > Added AIX support for some facts
> > > Add lsbmajdistrelease fact for CentOS and Red Hat
> > > Updated Red Hat spec file for new version > > > The 'facter' executable now has an option (-p|--puppet) for > > > loading the > > > Puppet libraries, which gives it access to Puppet's facts.
> > > Added autoloading to Facter with a default of not loading all > > > facts, > > > which results in a significant speedup when only one fact is > > > sought. > > > Facts are autoloaded in either a single file named after the > fact > > > or > > > in any file in a directory named after the fact.
> > > Significantly refactored Facter's internals, including creating > > > tests > > > for all internal classes.
> > > A netmask fact has been added closing ticket #46. It only > > > returns the > > > netmask of the primary interface (in the same behaviour as the > > > ipaddress > > > and macaddress facts).
> > > Facts to return multiple interfaces on a host have also been > > > updated. > > > If you have multiple interfaces on Linux, *BSD, or Solaris/SunOS > > > you will > > > now get facts for each interface's IP address, MAC address and > > > netmask. > > > The facts will be structured like: > > > ipaddress_int = 10.0.0.x > > > macaddress_int = xx:xx:xx:xx > > > netmask_int = 255.255.255.0
> > > Facter now identifies Ubuntu hosts and their releases using the > > > operatingsystem and operatingsystemrelease facts.
> > > The Debian operatingsystemrelease fact now correctly returns the > > > current > > > Debian release.
> > > Fixed ticket #48 - ioperatingsystem and operatingsystemrelease > > > for CentOS
> > > Fixed ticket #44 and allowed support for Xen multiple interfaces > > > and aliased > > > interfaces. Supports both Linux and *BSD.
> > > Added interfaces fact to add as index for ip/MAC address facts
> > > Added Mandrake support for operatingsystem fact - closed ticket > #47
> > > Fixed ticket #45
> > > Added netmask.rb closing ticket #46
> > > -- > > > Morgan's Second Law: > > > To a first approximation all appointments are canceled. > > > --------------------------------------------------------------------- > > > Luke Kanies |http://reductivelabs.com|http://madstop.com
On Thu, 2008-07-17 at 22:09 +0100, R.I.Pienaar wrote: > > Official builds are making their way through the Fedora/EPEL build > > systems and should show up on a mirror near you shortly.
Cool .. BTW, all the official builds I ever made can also be found in Koji (the ones on et.redhat.com were made on my own build machine and are therefore a tad less official):