Using Puppet, is it possible to define which plugins gets sync with a particular client?

Posted by luckytaxi on Server Fault See other posts from Server Fault or by luckytaxi
Published on 2011-11-01T14:44:06Z Indexed on 2011/11/21 17:54 UTC
Read the original article Hit count: 251

Filed under:

I have a plugin that gets pushed to all clients. However, I have one that's specific to a particular module, hence I don't want it synced with all my clients.

My generic plugin is stored in /etc/puppet/modules/custom/lib/facter but I have a plugin stored inside a module that seems to be pushed to all clients regardless if the host inherits the class or not.

Location of module: /etc/puppet/modules/apache/lib/facter/SAMPLE_PLUGIN.rb

© Server Fault or respective owner

Related posts about puppet