Unable to connect to Enterprise Puppet server using Windows agent
I have setup Puppet Enterprise server on CentOS Linux 7 (Core).
# /opt/puppetlabs/bin/puppetserver --version puppetserver version: 2016.5.0.11
I have installed Puppet Enterprise agent on Win Server 2008 R2 Enterprise (64-bit).
C:\Users\Administrator>puppet --version 4.8.1
When i try connecting to the Puppet server, i get only the following output:
C:\Windows\system32>puppet agent --test Exiting; no certificate found and waitforcert is disabled
On server, if i check for any pending cert signing request, i see nothing:
# puppet cert --list
I have verified that i am able to telnet to Puppet server on port 8140 from my Win agent box.
Also shown below is the Puppet service running as Local System user.
My Puppet server has the following entry in /etc/puppetlabs/puppet/puppet.conf
[main] certname = gc.abc.com server = gc.abc.com user = pe-puppet group = pe-puppet environment_timeout = 0 app_management = true module_groups = base+pe_only environmentpath = /etc/puppetlabs/code/environments codedir = /etc/puppetlabs/code [agent] graph = true [master] node_terminus = classifier storeconfigs = true storeconfigs_backend = puppetdb reports = puppetdb certname = gc.abc.com always_cache_features = true
On Win agent, i have specified the Puppet server name in host file:
On Win agent, I have also mentioned the server name in C:\ProgramData\PuppetLabs\puppet\etc\puppet.conf file
[main] server=puppet-server autoflush=true environment=production