root@puppet-client:/etc/puppet/manifests# sudo puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'puppet-client.com, puppet-client' on node puppet-client.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Please note that puppet-client.com (dns entry in /etc/hosts : 127.0.0.1 puppet-client.com) is the agent that I am using.
Can someone please help?