On Dec 14, 2010, at 3:18 AM, Paul Willis wrote: > Hi > > I'm trying puppet for the first time and attempting to get it working in > Amazon EC2 with Ubuntu 10.04 using the default puppet 0.25.4-2ubuntu4, I've > read the 'Pulling Strings' book and tried following various tutorials found > on the net to set up it but each time I get as far as signing the certificate > before getting this error.... > > info: Caching certificate for ip-10-243-6-14.ec2.internal > info: Retrieving plugin > 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.mydomain.com/plugins: undefined method `closed?' > for nil:NilClass > err: Could not retrieve catalog from remote server: undefined method > `closed?' for nil:NilClass > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > > (I've edited puppet.mydomain.com but mydomain.com would actually be my real > domain) > > Searching Google for the error message brings up a few people having the same > problem but no solution. It seems many of the puppet error messages are very > similar so it makes it harder to pin down what I'm doing wrong. There is one > suggestion that it might be a Ruby bug but if possible I'd like to use the > default LTS packages. Of course if something is broken I may have no option > but I find it hard to believe nobody is using the default install I assume > I'm making some basic error here.
> undefined method `closed?' for nil:NilClass This error is a bug that is fixes in later versions of puppet. It means, something went wrong (this might be your fault) and the cleanup code failed (this part isn't your fault). More information at: http://projects.puppetlabs.com/issues/3101 -- 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.