odd new error with puppet version 3.8.1

51 views
Skip to first unread message

Peter Berghold

unread,
May 27, 2015, 8:02:27 PM5/27/15
to puppet-users
Ever since I upgraded to Puppet version 3.8.1 I now see this error:
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://mcadprod1.mca.sharkrivertech.com/pluginfacts


What's that about?  Should I worry.  Something need configuring?

Josh Cooper

unread,
May 27, 2015, 9:02:19 PM5/27/15
to puppet...@googlegroups.com
When the agent runs, it will attempt to download external facts from all of the modules on the master to the /var/lib/puppet/facts.d directory on the agent. If no module has a facts.d directory on the master, e.g. in 3.8.x that'd be /etc/puppet/modules/<some_module>/facts.d, then the agent will display the above message. I think there is a ticket to not display an error message, as it's not really an error. And I think you can work around the issue by creating an empty facts.d directory for one of your modules.

Josh

--
Josh Cooper
Developer, Puppet Labs

PuppetConf 2015 is coming to Portland, Oregon! Join us October 5-9.
Register now to take advantage of the Early Adopter discount save $349!

Garrett Honeycutt

unread,
May 27, 2015, 10:41:13 PM5/27/15
to puppet...@googlegroups.com
On 5/27/15 5:02 PM, Josh Cooper wrote:
>
>
> On Wed, May 27, 2015 at 1:02 PM, Peter Berghold <salty....@gmail.com
> <mailto:salty....@gmail.com>> wrote:
>
> Ever since I upgraded to Puppet version 3.8.1 I now see this error:
> Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not
> retrieve information from environment production source(s)
> puppet://mcadprod1.mca.sharkrivertech.com/pluginfacts
> <http://mcadprod1.mca.sharkrivertech.com/pluginfacts>
>
>
> What's that about? Should I worry. Something need configuring?
>
>
> When the agent runs, it will attempt to download external facts from all
> of the modules on the master to the /var/lib/puppet/facts.d directory on
> the agent. If no module has a facts.d directory on the master, e.g. in
> 3.8.x that'd be /etc/puppet/modules/<some_module>/facts.d, then the
> agent will display the above message. I think there is a ticket to not
> display an error message, as it's not really an error. And I think you
> can work around the issue by creating an empty facts.d directory for one
> of your modules.
>
> Josh
>
> --
> Josh Cooper
> Developer, Puppet Labs

Hi,

This seems to be what I described in PUP-3324.

https://tickets.puppetlabs.com/browse/PUP-3324

Best regards,
-g

--
Garrett Honeycutt
@learnpuppet
Puppet Training with LearnPuppet.com
Mobile: +1.206.414.8658
Reply all
Reply to author
Forward
0 new messages