Issue #3741 has been updated by Patrick Carlisle.

I agree this is a dup of #8341 (or that is a dup of this really). I've been 
working on that and the problem should be partly fixed now.

To summarize the current status, there are two components to this bug:
The first is that each unique path is loaded twice. This is fixed in 
https://github.com/puppetlabs/puppet/commit/c58bfbc64f9f22009cd57c5cc8a924ae21fe3a97
 which was just merged into the 2.7.x branch.

The second problem is that pluginsync copies modules from the modulepath to the 
lib path, and then we load both of those.  See #1964. We apparently want the 
facts on the master that haven't been synced by a local agent, and we want them 
on an agent that doesn't have the master's modulepath.  I'm not sure what is 
the right way to satisfy all the requirements without also loading facts twice 
in some cases.
----------------------------------------
Bug #3741: Custom facts loaded multiple times
https://projects.puppetlabs.com/issues/3741

Author: Dan Carley
Status: Requires CLA to be signed
Priority: Normal
Assignee: Ash Caire
Category: plug-ins
Target version: Telly
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


As noted by some on puppet-users - 
http://groups.google.com/group/puppet-users/browse_thread/thread/f41cad70f62b9bf7

Puppet clients indicate that they are loading each custom fact more than once.
<pre>
info: Loading facts in layman_conf
info: Loading facts in portage_flags
info: Loading facts in portage_keyword
info: Loading facts in portage_profile
info: Loading facts in raidtype
[..]
info: Loading facts in layman_conf
info: Loading facts in portage_flags
info: Loading facts in portage_keyword
info: Loading facts in portage_profile
info: Loading facts in raidtype
[..]
</pre>

Some relevant settings from @puppet.conf@:
<pre>
vardir = /var/lib/puppet
pluginsync = true
factpath = $vardir/lib/facter
</pre>

Using versions:

* Puppet 0.25.4
* Facter 1.5.2


-- 
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.

Reply via email to