Update Servers & Workflows/Linux/Automation/Puppet/Puppet Deployment.md

This commit is contained in:
2024-10-02 18:49:32 -06:00
parent 815b17d9d6
commit a9dae54116

View File

@ -4,12 +4,31 @@ Puppet is another declarative configuration management tool that excels in syste
!!! note "Assumptions" !!! note "Assumptions"
This document assumes you are deploying Puppet server onto Rocky Linux 9.4. Any version of RHEL/CentOS/Alma/Rocky should behave similarily. This document assumes you are deploying Puppet server onto Rocky Linux 9.4. Any version of RHEL/CentOS/Alma/Rocky should behave similarily.
### Deployment Steps: ## Deployment Steps:
You will need to perform a few steps outlined in the [official Puppet documentation](https://www.puppet.com/docs/puppet/7/install_puppet.html) to get a Puppet server operational. A summarized workflow is seen below: You will need to perform a few steps outlined in the [official Puppet documentation](https://www.puppet.com/docs/puppet/7/install_puppet.html) to get a Puppet server operational. A summarized workflow is seen below:
### Install Puppet Repository
**Installation Scope**: Puppet Server / Managed Devices
``` sh ``` sh
# Add Puppet Repository / Enable Puppet on YUM # Add Puppet Repository / Enable Puppet on YUM
sudo rpm -Uvh https://yum.puppet.com/puppet7-release-el-9.noarch.rpm sudo rpm -Uvh https://yum.puppet.com/puppet7-release-el-9.noarch.rpm
```
# PLACEHOLDER ### Install Puppet Server
**Installation Scope**: Puppet Server
``` sh
# Install the Puppet Server
yum install -y puppetserver
systemctl enable --now puppetserver
# Validate Successful Deployment
exec bash
puppetserver -v
```
### Install Puppet Agent
**Installation Scope**: Puppet Server / Managed Devices
``` sh
# Install Puppet Agent
sudo yum install puppet-agent
``` ```