Category Archives: Agent

Puppet Enterprise – How to auto sign nodes

Basic autosigning is enabled by default and looks for a whitelist located at $confdir/autosign.conf

The autosign.conf whitelist file is a list of certnames or domain name globs (one per line) whose certificate requests will automatically be signed.

test.example.com
*.datacenter.example.com
*.localdinaub

Puppet Enterprise – Error: Could not request certificate: getaddrinfo: No such host is known

Following error on Puppet windows agent

$ puppet agent -t
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**

Run agent in debug mode puppet agent -t --debug

It will tell you what host:port it is trying to connect

Fix it accordingly in following config file and re run puppet agent

C:\ProgramData\PuppetLabs\puppet\etc\puppet.conf

All good 🙂

Array ( [marginTop] => 100 [pageid] => @techish1 [alignment] => left [width] => 292 [height] => 300 [color_scheme] => light [header] => header [footer] => footer [border] => true [scrollbar] => scrollbar [linkcolor] => #2EA2CC )