Issue #15668 has been updated by R.I. Pienaar.
Indeed that should be good if we can make it behave and not load the same fact multiple times (once from modules and once from synced libdir). This would leave types and providers still unless some other ticket I forgot about has already fixed that for apply. Currently apply supports finding facts: <pre> # /usr/bin/puppet apply --pluginsync --modulepath=/etc/puppet/manifests/common/modules /etc/puppet/manifests/site.pp --show_diff --verbose --unimatrix info: Loading facts in /etc/puppet/manifests/common/modules/concat/lib/facter/concat_basedir.rb </pre> but no joy with types and providers ---------------------------------------- Bug #15668: Revert #12127 - Puppet should not pluginsync on 'puppet apply' https://projects.puppetlabs.com/issues/15668#change-67587 Author: eric sorenson Status: Unreviewed Priority: Normal Assignee: Andrew Parker Category: plug-ins Target version: 3.x Affected Puppet version: Keywords: pluginsync Branch: After some testing and clarifying the role of pluginsync in the ecosystem, it sure seems like #12127 was a bad idea. The root of the problem is that the pluginsync area is primarily a way for a master to deliver functionality to a puppet agent, which the agent needs in order to comply with the master. This could be to submit custom facts the master needs for compilation and/or to use types/providers the master specifies in the catalog that gets delivered. Pluginsync'ing from apply clobbers the local cache of these plugins with a totally disjoint set of plugins from the apply `modulepath` variable; apply should not be authoritative over the agent-to-master communication channel. Therefore the change in #12127 should be reverted; only `puppet agent` ought to initiate a pluginsync. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
