Book Image

CentOS System Administration Essentials

Book Image

CentOS System Administration Essentials

Overview of this book

Table of Contents (18 chapters)
CentOS System Administration Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing the Puppet master


As we know with many services that have to be installed on CentOS, we have to make sure that the plumbing is correct before we start. The plumbing, in the case of the Puppet master, means:

  • TCP port 8140 must be open through the firewall

  • The Puppet master should be resolvable by the hostname puppet by DNS or local hosts files

  • Time should be synchronized

  • A configured Puppet Labs yum repository

I've detailed these in the following sections.

Configuring the firewall

I am not using a host-based firewall in the demonstration machine. This may not be the case on your systems, and if you are using a firewall, you will need to allow TCP port 8140 through the INPUT chain. The status of the firewall can be checked with the following command:

# iptables -L

This will list the rules that are in place and the default policy. If there are no rules in place and the default policy is ACCEPT, then you will not have firewall-related issues, and you can relax.

DNS

Puppet agents are running...