How to set up a node without DNS by IP address?

asked 2014-06-24 18:08:04 -0500

wsanders gravatar image

updated 2014-06-24 18:08:51 -0500

Is this possible? I have a puppet master running on Linux, and the node I want to add is running Windows, but is in a Domain that does not export its DNS outside the domain. I can add the Windows hostname to the /etc/hosts file in Linux, and ping it etc by host name, and the Windows host has DNS that lets it resolve the Linux puppet master, but Puppet can't get data for the node: 'Could not retrieve facts from inventory service: 404 "Not Found"'

When I added the node, I tried both the "fully qualified" name of the host ( host.domain.com ) and the short name (both are in my puppet master /etc/hosts file.)

Can I do this without DNS working cleanly? Perhaps by IP address?

I am thinking there could be a way to generate a new cert for the Windows agent, using the IP address as the CN name.

I am not really even sure if the Windows Puppet agent is listening for requests, I don't see any additional ports come up in LISTENING state after I start the agent. Or does it poll the master?

edit retag flag offensive close merge delete