On Wed, 8 Sep 2010 09:46:15 -0700, Nigel Kersten <[email protected]> wrote: > On Wed, Sep 8, 2010 at 9:25 AM, James Cammarata <[email protected]> wrote: >> >>>> The only way to get rid of this error is to set the libdir variable, >>>> which >>>> I don't think is right. Can anyone point out what I'm doing wrong >> here? >>>> The documentation on custom facts is pretty horrible, and is too much a >>>> mish-mash of old vs new methods. >>>> >>> >>> So setting the factpath isn't enough? You're finding you need to set >>> the libdir as well? What is the libdir set to with the above settings? >>> (sudo puppetd --configprint libdir) >> >> Setting libdir on the client just causes a different error to be >> generated, >> it doesn't really work still. > > How does the error differ? > > So lets step back and make sure all the right bits are set up. > > Are you using environments? > > Is the server definitely serving the modulepath that you think it is > to this client? Can you confirm that with a manifest in that > modulepath and running with --no-pluginsync on the client? > > I believe I've seen your error in the past when you try to pluginsync > and the server is serving an empty directory for the plugin source.
We've run through it in IRC, everything seems to be setup correctly. I also found this: http://www.mail-archive.com/[email protected]/msg09720.html Which states an invalid url is generated sometimes for 0.25.4-1 (my same version) when recursive directories are deployed. I checked the master http log and see this: [07/Sep/2010:17:14:37 EDT] "GET /production/file_metadatas/plugins?recurse=true&&ignore=---+%0A-+.svn%0A-+CVS%0A-+.git%0A&links=manage HTTP/1.1" 400 45 See the double && in there after recurse=true - that may be the issue. Interesting if you've seen the same issue with empty plugin directories, I'll try and touch a file in them to make sure at least something is there. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
