Steven L. Seed
2010-Jul-23 19:44 UTC
[Puppet Users] certain facts not getting displayed on the command line
When I type facter on the command line without parameters I get a list of several facts. If I try to include a specific fact with the command, I sometimes get a value back and other times I don''t. It seems that certain facts aren''t returning values on the command line. Inside of puppet they still appear to work, but it makes for difficult debugging. Here''s an example. # facter architecture => x86_64 facterversion => 1.5.7 fqdn => longhair.domain.com hardwareisa => x86_64 hardwaremodel => x86_64 hostname => longhair ... physicalprocessorcount => 2 processor0 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor1 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor2 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor3 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor4 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor5 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor6 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processor7 => Intel(R) Xeon(R) CPU X5550 @ 2.67GHz processorcount => 8 productname => HP Z800 Workstation ps => ps -ef puppetversion => 0.25.5 ... swapfree => 7.81 GB swapsize => 7.81 GB ... Now running facter with a specific facts... # facter physicalprocessorcount 2 # facter processorcount # facter processor0 # facter hardwaremodel x86_64 # facter swapfree # -- 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.
James Turnbull
2010-Jul-26 03:38 UTC
Re: [Puppet Users] certain facts not getting displayed on the command line
Steven L. Seed wrote:> When I type facter on the command line without parameters I get a list > of several facts. If I try to include a specific fact with the command, > I sometimes get a value back and other times I don''t. It seems that > certain facts aren''t returning values on the command line. Inside of > puppet they still appear to work, but it makes for difficult debugging. > Here''s an example.This is a known issue with Facter that will be addressed in the next release. Regards James Turnbull -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 -- 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.