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 on the one 
I'm testing now).

What can be done to make sure the fact is loaded after the puppetmaster is 
restarted?

Thanks in advance.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to