----- Original Message ----- > From: llow...@oreillyauto.com > To: puppet-users@googlegroups.com > Sent: Friday, June 29, 2012 9:05:53 PM > Subject: [Puppet Users] Ruby custom fact question/problem > > I originally started this post to ask about one problem, but in the > process of getting the question written I learned that it was due to > differences between 1.8.7 and 1.9.2 that had caused my problem, so I > got that fixed. > > I now have the fact successfully loading when I run puppet: > > info: Loading facts in /var/lib/puppet/lib/facter/node_id.rb > > However, when I run facter, I can't find node_id. > > facter | grep node > No LSB modules are available. > > > Is there another step I am missing? Also, one thing I didn't > understand (and so may have done wrong) is how the actual fact gets > set. Is it simply the last variable/string used in the code? >
You have to pass -p or --puppet to facter on the cli to make it aware of facts copied out using puppet pluginsync -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.