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