Book Image

Puppet 6 Essentials [Video]

By : Andrew Mallett
Book Image

Puppet 6 Essentials [Video]

By: Andrew Mallett

Overview of this book

With Puppet, you can configure many servers and automate your IT configuration easily and efficiently. This video course shows you how to be a master in using Puppet 6. This course helps you to install and setup Puppet 6 on your machines. You will also be able to configure the hostname entry, JVM, and perform time synchronization. Next, you will be introduced to Puppet manifests and learn how to work with the default environment and create a new environment. Moving along, you will install modules in different locations, create modules, and learn the best practices required to use conditional statements in Puppet. Towards the end, you will discover templates in Puppet 6 and learn how to deploy agents to new systems using the Bolt tool. By the end of this course, you will be well-versed with Puppet and will develop the skills needed to configure systems centrally from your Puppet server. All the code files for this course are located here: https://github.com/PacktPublishing/Puppet-6-Essentials
Table of Contents (6 chapters)
Chapter 2
Installing Puppet 6 Server and Agent
Content Locked
Section 4
Configuring the Hostname Entry and Java Virtual Machine (JVM)
This video explains how to configure the hostname entry and JVM. By default, the Puppet agent will try to connect to a host named "Puppet" as the Puppet server. In reality, adding a Domain Name System (DNS) Canonical Name (CNAME) record is often the most effective way of doing this. As there are only two agents for this course, we use localhost records and add it to the single agent that we have currently. The Puppet server defaults to using 2GB RAM but we lower this setting to 1 GB so that the server can start correctly where Amazon Web Services (AWS) Virtual Machine (VM) only started with a max of 2GB in total.