Hello,


Normally you would place custom facts in the directory lib/facter of a module 
(any module). When the setting pluginsync is true (and this is the default 
value for quite a long time), on the next puppet run this fact will be synced 
to the agent.



https://puppet.com/blog/introduction-pluginsync



-----Original message-----
From: Nikhil Patil <[email protected]>
Sent: Thursday 31st January 2019 13:48
To: Puppet Users <[email protected]>
Subject: [Puppet Users] Push Puppet custom Facts to agent

Hi All,

I have created the custom fact in ruby and placed in facterlib path on master. 
when i run facter -p on master i see the facter value in response. Now i want 
this to be pushed on all my agent from puppet master. how this can be achieved. 

Thanks & Regards
Nikhil


-- 
 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 [email protected] 
<mailto:[email protected]> .
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f69c0165-5a41-45a5-a2b2-8837d7374a8c%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/zarafa.5c52f4bc.4b90.2aa915f0620fd775%40anjie.dontpanic.nl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to