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

Chapter 9. Puppet – Now You Are the Puppet Master

Puppet from Puppet Labs allows for central administration of your Linux devices. The central Puppet server is known as the Puppet master, continuing the analogy with puppetry. This master device certainly allows you to control servers and desktops (nodes in Puppet terms) from a single device, albeit not in the marionette style with pieces of a string. The Puppet master specifies the desired state to each node, and every 30 minutes, the node connects to the Puppet master and sends facts about its resources; if it does not meet the desired state, then the node will fix itself to meet it. During the course of this chapter, we will investigate the Puppet configuration including:

  • Installing the Puppet master: We will install and configure the Puppet master from the Puppet Labs repository. The Puppet master will act as the central configuration server and store the desired configuration state for each node.

  • Puppet resource: We will use the puppet...