![]() ![]() To install Puppet, we need to add its repository to the system. Step 2: Add Puppet Repository on Puppet Master (Rocky Linux) Once the hostnames and DNS records have been set up, proceed with the next step. Next, update the /etc/hosts file with the IP address and hostname or FQDN of your system.įor Puppet Master # echo "139.144.20.170 " > /etc/hostsįor Puppet Slave # echo "45.79.206.178 puppet-agent" > /etc/hosts Next, update the /etc/hosts file for both systems with the hostname and DNS records as shown. ![]() Puppet Slave with IP 45.79.206.178 - Ubuntu 22.04įor Puppet Master $ sudo hostnamectl set-hostname įor Puppet Slave $ sudo hostnamectl set-hostname puppet-agentĬonfirm the new hostname using the hostnamectl command: $ hostnamectl Lab Environment Setup Puppet Master Node with IP 139.144.20.170 - Rocky Linux 8 ![]() In this guide, we will demonstrate how to install Puppet Master and Agent in RHEL-based distributions such as CentOS, Fedora, Rocky, and AlmaLinux. PuppetDB – This is a database that stores all the data generated by Puppet.All slaves are managed by the Puppet master and have the Puppet agent installed and running. Puppet Slave – These are the managed client nodes in your environment.Puppet Master/Server – This node contains all the configuration required to manage client nodes on which the puppet slave is installed.Puppet adopts a client-server architecture and comprises the following salient aspects. It helps the simple execution of repetitive tasks which would otherwise be cumbersome and time-consuming. ![]() Developed by Puppet Lans, Puppet is an open-source configuration management tool used for automating and centralizing the configuration of infrastructure such as servers just like Ansible and Chef. ![]()
0 Comments
Leave a Reply. |