Managing packages, services, and files

We will move on from this manual configuration and become familiar with Puppet as a central configuration server, whereby we can define settings within manifest files that will be distributed to the required nodes. To begin this, we will create the manifest file; these are just text files, and apply it locally on the Puppet master using puppet apply. Once we have verified that the manifest is working and enforcing the desired state, we will enlist the clients and see true Puppet automation at work.

The building blocks for Puppet start with the resource declarations that we have already looked at. These declarations are written to manifest files, which have the extension .pp. Within the manifest file, resources ...

Get CentOS System Administration Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.