Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 10 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

 
discard

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.