Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 12 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.)

share|improve this answer

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

share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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