I had a problem like this when I changed the hostname I was using to access the
puppet server (from puppet to something else).

I think in the end I regenerated the ssl keys on the server and it started
working. Not sure if that was a required fix or a coincidental fix as I didn't
do any regression testing, but it might be worth a go...

Of course then you'll have to reassociate all your clients so maybe it isn't as
easy for you as it was for me.


Cheers,
Tim

On 20/01/11 3:06 AM, Basil Kurian wrote:
> I 'm configuring puppet in an ubuntu server and a client. When I define the
> server's IP as hostname "puppet", things are working well. But When I try to
> change the hostname to something different it is not working
> 
> root@client ~# puppetd --test --server server.example.local
> 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
> 
> root@client ~# puppetd --test --server=server.example.local
> 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
> 
> root@client ~# puppetd --test --server="server.example.local"
> 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
> 
> Then I tried setting
> 
> [puppetd]
> server=server.example.local
> 
> in puppet.conf
> 
> root@client ~# puppetd --test                 
> 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
> 
> 
> Any idea ??
> 
> -- 
> Regards
> 
> Basil Kurian
> <http://basilkurian.tk>
> 
> -- 
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@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.

-- 
Tim Nicholas - t...@wetafx.co.nz

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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