Chapter 2
Installing Puppet 6 Server and Agent
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.