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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Nice job. That looks great. Randy Bias, chief tactician, neoTactics, Inc. (877) NEO-TKTX, randyb@neotactics.com On Jul 7, 2008, at 9:52 PM, Luke Kanies wrote:> I''ve finally gotten around to releasing Facter 1.5.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
2008/7/10 Jeff Leggett <jeffrey.leggett@etrade.com>:> > Anyone roll a RH5/CentoS5 RPM yet by chance? >Solaris (beta) package here: http://www.garylaw.net/packages/facter-1.5.0,REV=2008.07.10-SunOS5.10-all-CSW.pkg.gz will be available through blastwave .... eventually feedback welcome :) Gary -- Gary Law gary.law@gmail.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Rolled on a Centos5-i386 machine a few days ago: http://64.209.129.23/facter-1.5-1.noarch.rpm Rolled out to prod and works fine for us. -Pat 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On 10 Jul 2008, at 22:06, Gary Law wrote:> feedback welcome :) > > GaryLooks good to me (i.e. it works ;-)) 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. --Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Facter looks good, only one thing about the RPM, it should use /usr/lib64/site_ruby on 64bit machines. Thanks, Ohad On 7/12/08, patobrien <obrien.patrickl@gmail.com> wrote:> > > Rolled on a Centos5-i386 machine a few days ago: > > http://64.209.129.23/facter-1.5-1.noarch.rpm > > Rolled out to prod and works fine for us. > > -Pat > > 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 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, 2008-07-07 at 23:52 -0500, Luke Kanies wrote:> I''ve finally gotten around to releasing Facter 1.5.I''ve finally built Fedora/RHEL RPM''s. The unofficial versions are in my personal repo[1] and in the archive[2]. Official builds are making their way through the Fedora/EPEL build systems and should show up on a mirror near you shortly. BTW, if anybody is interested in becoming a comaintainer of the Fedora/EPEL packages, I''d be more than happy to set that up in pkgdb. David [1] http://people.redhat.com/dlutter/yum [2] http://et.redhat.com/~lutter/puppet/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
hello,> Official builds are making their way through the Fedora/EPEL build > systems and should show up on a mirror near you shortly.I have also ran a sync of http://yum.reductivelabs.com so its available there> > BTW, if anybody is interested in becoming a comaintainer of the > Fedora/EPEL packages, I''d be more than happy to set that up in pkgdb.I''d be willing to lend a hand, but do not have access to a whole long list of rpm based distros, just centos 4 and 5 -- R.I.Pienaar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
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. > > I have also ran a sync of http://yum.reductivelabs.com so its available thereCool .. 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): * Facter: http://kojipkgs.fedoraproject.org/packages/facter/ * Puppet: http://kojipkgs.fedoraproject.org/packages/puppet/> > > > BTW, if anybody is interested in becoming a comaintainer of the > > Fedora/EPEL packages, I''d be more than happy to set that up in pkgdb. > > I''d be willing to lend a hand, but do not have access to a whole long > list of rpm based distros, just centos 4 and 5The most important thing you''d need for this is an account in the Fedora account system, and then apply for membership in the ''cvsextras'' group. David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi David, Thanks for your rpm, but I have one question. Does the facter and puppet rpms should be arch specific or can they be noarch? Thanks, Ohad On Fri, Jul 18, 2008 at 5:50 AM, David Lutterkort <dlutter@redhat.com> wrote:> > 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. > > > > I have also ran a sync of http://yum.reductivelabs.com so its available > there > > 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): > > * Facter: http://kojipkgs.fedoraproject.org/packages/facter/ > * Puppet: http://kojipkgs.fedoraproject.org/packages/puppet/ > > > > > > > BTW, if anybody is interested in becoming a comaintainer of the > > > Fedora/EPEL packages, I''d be more than happy to set that up in pkgdb. > > > > I''d be willing to lend a hand, but do not have access to a whole long > > list of rpm based distros, just centos 4 and 5 > > The most important thing you''d need for this is an account in the Fedora > account system, and then apply for membership in the ''cvsextras'' group. > > David > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
I updated the packages for opensuse and SLES/SLED. They can be found on Build Service as usual http://download.opensuse.org/repositories/system:/management/ Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, 2008-07-18 at 09:35 +0800, Ohad Levy wrote:> Thanks for your rpm, but I have one question. > Does the facter and puppet rpms should be arch specific or can they be > noarch?The answer is: it depends ;) For RHEL4 and earlier, there is no way to build noarch Ruby packages since the i386 and x86_64 versions do not have a single directory on $: in common. This was fixed in FC-6, and therefore all current Fedora releases and RHEL 5 have facter and puppet built as noarch. David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---