Every time I run puppet, I get this error.

err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet/plugins

link|improve this question

feedback

2 Answers

up vote 7 down vote accepted

The reason this error comes up is you have pluginsync enabled, and you don't have any plugins to sync. pluginsync is enabled by default in the Ubuntu packages. Unfortunately, due to the design of puppet, the error message is a bit imposing, and throws up some pink in your otherwise green --test output.

There are two options:

  1. Disable pluginsync on every client: edit /etc/puppet/puppet.conf and set pluginsync=false.

  2. Create at least one plugin.

The easiest workaround is to create a single lib directory under a module of your choosing. Even an empty plugin is enough to cause the error to go away.

(Answer found in this bug report.)

link|improve this answer
feedback

Check the log file on the server if there any clues, but most likely it's caused by a misconfigured fileserver.conf for puppetmaster.

link|improve this answer
Thanks, but I actually posted the question in order to more widely publicise the correct answer. :) – crb Jul 7 '10 at 13:41
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.