I have written a custom puppet fact using a ruby script. It is very simple 
- it just adds a string to a fact. However I have written a module but it 
appears to me that the custom fact has been applied to all my machines 
without me specifying any node definitions. When I run a puppet agent 
--test --noop, I see the custom fact appear in /var/lib/puppet/lib/facter.

Info: Loading facts in /var/lib/puppet/lib/facter/addfacter.rb

I checked my nodes by running facter and it doesn't appear, unless I run 
facter -p

I only want my custom fact to run on a specific node via a definition


My question is, do custom facts scripts run by default regardless of any 
node definitions? If not, what am I doing wrong?


Many thanks - Oli


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to