Book Image

Mastering Puppet

By : Thomas Uphill
Book Image

Mastering Puppet

By: Thomas Uphill

Overview of this book

Table of Contents (17 chapters)

Connectivity issues

As we have seen in Chapter 1, Dealing with Load/Scale, by noticing that at its core, Puppet communication is done using a web service. When troubleshooting problems with the Puppet infrastructure, we should always start with that mindset. Assuming you are having trouble accessing the Puppet master, Puppet should be listening on port 8140 by default.


This port is configurable; you should verify the port is 8140 by running the following command:

# puppet config print masterport


You should be able to successfully connect to masterport. Check that you get a successful connection using netcat (nc).

Netcat can be used to check the connectivity of TCP and UDP sockets. If you do not have netcat (nc) available, you can use telnet for the same purpose. To exit telnet, you would issue Control-] followed by quit.

To exit netcat after the successful connection, type Control+D. If you don't see succeeded! in the output, then you are having trouble reaching the Puppet server on...