On Sep 21, 2010, at 11:45 AM, Kikanny wrote:

> Hi all
> 
> I started researching on puppet and decided I'll try it out on Vmware
> Workstation using Ubuntu 10.04. So I'm trying to do the simplest
> puppet install pattern as outlined in
> http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern.
> For now, I'm trying to test puppetd and puppetmasterd on the same
> machine. I start puppetmaster and everything works fine. Then I start
> puppetd and I end up with following error:
> 
> err: /File[/var/lib/puppet/lib]: Failed to generate additional
> resources using 'eval_generate': undefined method 'closed?' for
> nil:NilClass
> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
> resource: undefined method 'closed?' for nil:NilClass Could not
> retrieve file metadata for puppet://puppet/plugins: undefined method
> 'closed?' for nil:NilClass
> err: Could not retrieve catalog from remote server: undefined method
> 'closed?' for nil:NilClass
> err: Could not retrieve catalog; skipping run
> 
> I've been trying to figure this out over last couple of days but I'm
> completely stumped. Any help would be appreciated. Thanks!


James Turnbull mostly answered this one, but didn't mention the "plugin sync".  
It can be error can be safely ignored, but is distracting when debugging.  Add 
"pluginsync = false" to the client to bypass it.  If you want to fix it, add a 
directory called "lib" to one of your modules.  The directory can be empty.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to