I know that's not the exact answer you want but why not filling up the
hosts file with additional puppet on the concerned server ? Or in the
DNS if you're in a biggest organization ...

On Jan 20, 12:06 am, Basil Kurian <basilkur...@gmail.com> 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.

Reply via email to