Hi Matt, I have configured hostname of the master in hosts file as below in windows agent. 10.248.113.198 test.master.internal puppetmaster and added an entry "server=test.master.internal" in agent in windows puppet.conf.
If I execute command *puppet agent --test,* I am getting same error like below *Info: Retrieving plugin* *Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could* * not find default node or by name with 'testagentoneinternal.ec2.internal, te* *stagentoneinternal.ec2, testagentoneinternal' on node testagentoneinter* *nal.ec2.internal* *Warning: Not using cache on failed catalog* *Error: Could not retrieve catalog; skipping run* * * I am not getting any solution to resolve it. With Regards, Krishna Bhaskar. On Thursday, 20 December 2012 16:13:06 UTC+5:30, Matthew Burgess wrote: > > On Thu, Dec 20, 2012 at 9:36 AM, krishna bhaskara rao > <krish...@gmail.com <javascript:>> wrote: > > Hi Matt, > > > > While executing the command "puppet agent --server test.puppetmaster.com > > --debug" in puppet agent on Windows I am getting mentioned exception. > > I generally dislike specifying the server on the command line. What > does the following command give you, when run on the agent? > > puppet agent --test > > Do you have a 'server =' line in your agent's puppet.conf file? This > isn't strictly necessary if 'agent.your-domain.com' can successfully > resolve a DNS query for 'puppet'. As you're on Windows, running > 'nslookup puppet' is enough to test this. Or, confirm that your hosts > file contains a suitable entry for 'puppet'. > > Regards, > > Matt. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/PXtizbqnrDYJ. 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.