Comments inline

On Friday, June 29, 2012 3:13:18 PM UTC-5, R.I. Pienaar wrote:
>
>
>
> ----- Original Message ----- 
>
> > 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 
>


In this case... also had to use sudo, but that may just be due to the 
permissions on /var/lib/puppet. 

But I can see that it is working now, and is working as expected.

Thanks all.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/WJB4Q3ItKZIJ.
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.

Reply via email to