Announce: Native Facter (cfacter) 0.3.0 is available!

224 views
Skip to first unread message

Peter Huene

unread,
Feb 2, 2015, 8:21:32 PM2/2/15
to puppet...@googlegroups.com
Native Facter (cfacter) 0.3.0 is a features-and-fixes release in the Native Facter pre-1.0 series.

Included in this release is support for building Native Facter on Windows and Solaris.  The EC2 and GCE facts were also implemented in this release.

Notable updates:
  • Windows is now a supported platform:
  • Solaris is now a supported platform:
  • Added a Fedora 20 package.
  • Implemented overriding facts from FACTER_* environment variables.
  • Added a new "networking" structured fact to organize networking data.
  • Implemented the EC2 and GCE facts.
  • Various bug fixes including a fix for a hang when exec'ing a shell script missing a hashbang and supporting custom facts on platforms with libraries in a lib64 directory. 
Packages for the following platforms have been distributed on the Puppet Labs Package Repositories:
  • Debian/Ubuntu: Lucid, Precise, Squeeze, Trusty, and Wheezy.
  • RHEL 5, 6, and 7.
  • Fedora 20
Please see https://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html
 for information about installing from the package repositories.

--
Join us at PuppetConf 2015, October 5-9 in Portland, OR - www.2015.puppetconf.com 
Register early to save 40%!

Paul Seymour

unread,
Feb 3, 2015, 8:37:11 AM2/3/15
to puppet...@googlegroups.com
 
Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it complains:-
 
"Error: Could not initialize global default settings: cfacter version 0.2.0 or later is not installed."

Tracing it through it is looking for the libraries in /usr/lib64 and they are installed via the RPM in /usr/lib this doesn't happen when running via the command line so maybe something with my environment.

Linking/Copying the libs to /usr/lib64 and all is well with Puppet agent

Thanks
Paul

Melissa Stone

unread,
Feb 4, 2015, 6:07:46 PM2/4/15
to puppet...@googlegroups.com
On Tue, Feb 3, 2015 at 5:37 AM, Paul Seymour <paul.s...@ig.com> wrote:
 
Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it complains:-
 
"Error: Could not initialize global default settings: cfacter version 0.2.0 or later is not installed."

Tracing it through it is looking for the libraries in /usr/lib64 and they are installed via the RPM in /usr/lib this doesn't happen when running via the command line so maybe something with my environment.

Could you give us a little more information about how you're running cfacter? It sounds like puppet isn't playing with cfacter as well as it should, but I'd like to confirm that. Can you also let us know what version of the puppet you're running?

 

Linking/Copying the libs to /usr/lib64 and all is well with Puppet agent

Thanks
Paul

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0ec19a79-5507-4a09-827d-40758e37078c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Melissa Stone
Release Engineer, Puppet Labs
--------------------------------------------------

Join us at PuppetConf 2015, October 5-9 in Portland, OR - http://2015.puppetconf.com.  

Paul Seymour

unread,
Feb 5, 2015, 2:05:12 AM2/5/15
to puppet...@googlegroups.com


On Wednesday, 4 February 2015 23:07:46 UTC, Melissa Stone wrote:


On Tue, Feb 3, 2015 at 5:37 AM, Paul Seymour <paul.s...@ig.com> wrote:
 
Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it complains:-
 
"Error: Could not initialize global default settings: cfacter version 0.2.0 or later is not installed."

Tracing it through it is looking for the libraries in /usr/lib64 and they are installed via the RPM in /usr/lib this doesn't happen when running via the command line so maybe something with my environment.

Could you give us a little more information about how you're running cfacter? It sounds like puppet isn't playing with cfacter as well as it should, but I'd like to confirm that. Can you also let us know what version of the puppet you're running?


Sure the version is 3.7.1, being meaning to bump up to 3.7.4 to play with Puppet Server but not there just yet.

Thanks
 
 

Kylo Ginsberg

unread,
Feb 5, 2015, 12:44:16 PM2/5/15
to puppet...@googlegroups.com
On Wed, Feb 4, 2015 at 3:07 PM, Melissa Stone <mel...@puppetlabs.com> wrote:
On Tue, Feb 3, 2015 at 5:37 AM, Paul Seymour <paul.s...@ig.com> wrote:
 
Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it complains:-
 
"Error: Could not initialize global default settings: cfacter version 0.2.0 or later is not installed."

Tracing it through it is looking for the libraries in /usr/lib64 and they are installed via the RPM in /usr/lib this doesn't happen when running via the command line so maybe something with my environment.

Could you give us a little more information about how you're running cfacter? It sounds like puppet isn't playing with cfacter as well as it should, but I'd like to confirm that. Can you also let us know what version of the puppet you're running?

I repro'd this with puppet 3.7.4: standalone cfacter itself works fine, but "puppet --cfacter" doesn't.

Two things to workaround this:
1) gem install ffi
2) libfacter.so* should be in /usr/lib64 rather than /usr/lib

Kylo

-- 
Kylo Ginsberg | ky...@puppetlabs.com | irc: kylo | twitter: @kylog

Reply all
Reply to author
Forward
0 new messages