HI
I am new to Puppet and having a tough time understanding the process of how Authentication works in puppet. I am trying to connect puppet 3.4 master and agent on a centos 6 machine. we use host files, rather than dns.
This could be a simple question, but, I want to learn to Concepts. I made sure puppet is running on both master and agent. Here is my configuration:
On Master:
in puppet.conf
[master]
certname =
host.company.com vardir = /var/lib/puppet
in /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 puppet
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.16.7.22
host.company.com puppetmaster puppet
On Agent:
in puppet.conf
[main]
server =
host.company.comin /etc/hosts
10.16.7.22
host.company.com puppetmaster puppet
I still cant get them to authorize each other.
I am getting different errors:
On Agent:
sudo puppet agent --server=
host.company.com --test
Error: Could not request certificate: Connection refused - connect(2)
Exiting; failed to retrieve certificate and waitforcert is disabled
If I change the certname to a fancy name, it gets even funnier,
because, the agent looks for a host with than fancy name as there is no
DNS. Please give some info on how to get that working too.
Can Someone please guide me.
Thanks
Krishna