Issue while installing Puppet
I am trying to install the Open source project version of puppet .I am unable to accept certificate obtained from the agent. I have installed server and agent, server on Ubuntu 16.04 and agent on Windows 7
The error i am getting on the agent is -- Running Puppet agent on demand ... Error: Could not request certificate: getaddrinfo: No such host is known. Exiting; failed to retrieve certificate and waitforcert is disabled Press any key to continue . . .
on the server - puppet cert list $ puppet cert list -a + "sa-puppet-x11.crd.com" (SHA256) 1B:98:17:FD:08:57:A6:83:BA:96:19:E1:45:57:FD:D6:1C:28:9D:6C:5C:55:A9:91:80:01:3C:1E:FC:2A:81:76 (alt names: "DNS:puppet", "DNS:puppet.crd.com", "DNS:sa-puppet-x11.crd.com")
I do not have DB or any other component installed.
I have tried clearing and creating new certificates which does not seem to work --
my puppet.conf files are --
This file can be used to override the default puppet settings.
See the following links for more details on what settings are available:
[main] certname = pshenoy.crd.com server = sa-puppet-x11 environment = production runinterval = 1h [agent] report=true [master]
These are needed when the puppetmaster is run by passenger
and can safely be removed if webrick is used.
sslclientheader = SSLCLIENTSDN sslclientverifyheader = SSLCLIENTVERIFY
[master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver rundir = /var/run/puppetlabs/puppetserver pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid codedir = /etc/puppetlabs/code dnsaltnames = puppetmaster01,puppetmaster01.example.com,puppet.example.com,sa-puppet-x11, sa-puppet-x11.crd.com storeconfigs = true environment_timeout = unlimited
[main] certname = sa-puppet-x11.crd.com server = sa-puppet-x11 environment = production "/etc/puppetlabs/puppet/puppet.conf" [readonly] 24L, 1002C
I have a feeling my config file has incorrect information.
I need assistance.