FAQ
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+unsubscribe@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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMar 28, '13 at 1:41p
activeMar 28, '13 at 1:41p
posts1
users1
websitepuppetlabs.com

1 user in discussion

LTH: 1 post

People

Translate

site design / logo © 2022 Grokbase