Hi,
I have two agents. I call up the agent with the same command as follow:
puppet agent --test
By one agent, it works. But by the other, it doesn't and I got error as
follow:
...
]# puppet agent --test
err: Could not retrieve catalog from remote server: getaddrinfo: Name or
service not known
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: getaddrinfo: Name or service not known
According to the puppet doc, it tells it could be fixed with followings:
...
This usually happens when Puppet master is installed with a certname that
isn’t its hostname. To fix these errors, edit
/etc/puppetlabs/puppet/manifests/site.pp on the Puppet master so that the
following resource’s server attribute points to the correct hostname:
# Define filebucket 'main':
filebucket { 'main':
server => '<PUPPET MASTER'S DNS NAME>',
path => false,
}
I did what the doc tells but I got the same error as before.
Has someone idea?
Wei
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/328ef2dc-4399-4010-9339-d9c101a56d40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.