On Wednesday, September 24, 2014 8:44:19 AM UTC-5, JonY wrote:
>
> "For a given node, the pluginsync process will sync plugins, including 
>> custom facts, from the modules in the modulepath of the environment to 
>> which that node belongs."
>>
>
> So if my modulepath is /etc/puppet/modules - pluginsync will grab 
> everything from 'lib' folders under that (IE /etc/puppet/modules/.../lib ) 
> regardless of whether it is referenced for a given client? Seems a tad 
> confusing as other elements from this path (other modules) aren't sent to a 
> given client without appearing in the node classifier for that client.
>


Pluginsync will sync all the <modulepath>/<any_module>/lib/facter/* (custom 
fact implementations).  These all WILL be used by the client, though the 
resulting facts might or might not be afterward referenced by the server.  
It will also sync custom types and providers from 
<modulepath>/<any_module>/lib/puppet/type/* and 
<modulepath>/<any_module>/lib/puppet/provider/*.  Whether or not the types 
and providers are used by the client depends on the contents of its 
catalog, but that isn't known yet (even by the master) when plugins are 
synced, as it may depend on the custom facts.  Manifests are not synced, 
but they are not useful to clients (in master / agent mode), and anyway 
they are not plugins.  All of this applies to EVERY module in the 
applicable module path.

If you have not already done so, you should consult the documentation for 
distributing plugins 
<https://docs.puppetlabs.com/guides/plugins_in_modules.html>.


John

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a0742cdd-0687-475f-b75a-ac31c204bae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to