Andreas Kuntzagk
2011-May-03 10:06 UTC
[Puppet Users] facter command does not show some facts
Hi, When I run root@node002:/opt/sge# /var/lib/gems/1.8/bin/facter productname it comes back empty. But: root@node002:/opt/sge# /var/lib/gems/1.8/bin/facter |grep productname productname => Sun Fire X2200 M2 facter is version 1.5.7 regards, Andreas -- 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 Tue, May 3, 2011 at 10:06 AM, Andreas Kuntzagk <andreas.kuntzagk@mdc-berlin.de> wrote:> Hi, > > When I run > > root@node002:/opt/sge# /var/lib/gems/1.8/bin/facter productname > > it comes back empty. But: > > root@node002:/opt/sge# /var/lib/gems/1.8/bin/facter |grep productname > productname => Sun Fire X2200 M2 > > facter is version 1.5.7This is an issue with dynamic facts (facts key=>value where the key is not the same as the ruby file name), so there isn''t a productname.rb file. This issue have been addressed by later version of facter (1.5.8?). This does not affect puppet manifests from detecting fact values, only usage of facter on the command line. Thanks, Nan -- 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.