Issue #19979 has been updated by Sebastiaan van S.

Status changed from Investigating to Needs More Information

Not able to reproduce, we need some more information. Environment I used:

- Puppet 3.2.2 Master + Agent on built-in Webrick server
- Puppet 3.2.2 Master + Agent on Passenger 3.0.17-2
- Centos 6.4 x86_64

Can you please provide:
- Master and agent logs, --debug --verbose --trace.
- Are you using multiple environments where the facts/providers are not in 
every environment available?



----------------------------------------
Bug #19979: fact lost after restarting puppetmaster 
https://projects.puppetlabs.com/issues/19979#change-94573

* Author: L Harris
* Status: Needs More Information
* Priority: Normal
* Assignee: Sebastiaan van S
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
We have a custom package provider (cpanm) which uses a custom fact 
(perl_installsitebin) to determine the location of the executable it uses to 
install the various perl modules.

It normally works wonderfully, until the puppetmaster is restarted.  Then on 
the first run the agent will error out with:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not autoload puppet/type/package: Could not autoload 
puppet/provider/package/cpanm: Could not find fact 'perl_installsitebin' on 
node testweb.example.com

Subsequent runs of the agent work just fine.  Well fine until the agent hits a 
new httpd process at least.

On both the agent and master, pluginsync is set to true

The master is running 3.0.1 (apache passenger setup)
The agents are running whatever puppet comes with RHEL (2.6.17) and have also 
tested agents with 3.

We have also tested removing the module and all references to it from the 
environment.  After restarting apache on the puppet master, the first run still 
crashes with the same error.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to