On Nov 1, 10:00 pm, "R.I.Pienaar" <[email protected]> wrote: > ----- Original Message ----- > > you should be using pluginsync to copy out custom facts: > > http://docs.puppetlabs.com/guides/plugins_in_modules.html > Ok, enabled pluginsync, customer_status.rb is now copied to the client in /var/lib/puppet/lib/facts.
> this could only really be down to some environment change, maybe its > not picking up those fact or your custom fact only works based on > some set of stuff in the environment etc? > Correct, customer_status.rb was picking up an environment variable set from a file in /etc/profile.d/ I've changed customer_status.rb to get the value directly from this file. 'mc-puppetd --wi <client> runonce' doens't work with customer_status.rb in /var/lib/puppet/lib/facts but it does work with customer_status.rb in /usr/lib/ruby/site_ruby/ 1.8/facter. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
