Issue #3741 has been updated by Dan Carley.

Peter Meier wrote:
> But afair I think it has something todo with first initializing puppet to get 
> plugins and then getting the plugins and reloading them as something might 
> have changed so the correct facts are used to request the catalog. But I 
> might be wrong.

Sounds logical but the logs indicate that plugins are retrieved before the 
first load.

There's actually a comment in source:lib/puppet/configurer/fact_handler.rb#L53 
that notes intentional behaviour but that it shouldn't be required for Facter 
1.5.x. I'm not quite clear why though. Perhaps it could just be restricted?
----------------------------------------
Bug #3741: Custom facts loaded multiple times
http://projects.puppetlabs.com/issues/3741

Author: Dan Carley
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected 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