How to install puppet Agent in Linux?
CENTOS/RHEL 8
$ sudo rpm -Uvh https://yum.puppet.com/puppet7-release-el-8.noarch.rpm
$ sudo yum install puppet-agent
$ export PATH=$PATH:/opt/puppetlabs/bin
$ which puppet
$ puppet --version
$ puppet helpCode language: JavaScript (javascript)
CENTOS/RHEL 7
$ sudo rpm -Uvh https://yum.puppet.com/puppet7-release-el-7.noarch.rpm
$ sudo yum install puppet-agent
$ export PATH=$PATH:/opt/puppetlabs/bin
$ which puppet
$ puppet --version
$ puppet helpCode language: JavaScript (javascript)
UBUNTU
$ wget https://apt.puppet.com/puppet7-release-focal.deb
$ sudo dpkg -i puppet7-release-focal.deb
$ sudo apt-get update
$ sudo apt-get install puppet-agent
$ export PATH=$PATH:/opt/puppetlabs/bin
$ which puppet
$ puppet --version
$ puppet helpCode language: JavaScript (javascript)
How to install puppet Agent in Windows?
Install Powershell. The .msi package requires PowerShell 5 or higher.
- https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2
Download the .msi package.
- http://downloads.puppetlabs.com/windows/
Code language: JavaScript (javascript)
puppet help
Usage: puppet <subcommand> [options] <action> [options]
Available subcommands:
Common:
agent The puppet agent daemon
apply Apply Puppet manifests locally
config Interact with Puppet's settings.
help Display Puppet help.
lookup Interactive Hiera lookup
module Creates, installs and searches for modules on the Puppet Forge.
resource The resource abstraction layer shell
Specialized:
catalog Compile, save, view, and convert catalogs.
describe Display help about resource types
device Manage remote network devices
doc Generate Puppet references
epp Interact directly with the EPP template parser/renderer.
facts Retrieve and store facts.
filebucket Store and retrieve files in a filebucket
generate Generates Puppet code from Ruby definitions.
node View and manage node definitions.
parser Interact directly with the parser.
plugin Interact with the Puppet plugin system.
script Run a puppet manifests as a script without compiling a catalog
ssl Manage SSL keys and certificates for puppet SSL clients
See 'puppet help <subcommand> <action>' for help on a specific subcommand action.
See 'puppet help <subcommand>' for help on a specific subcommand.
Puppet v7.17.0
Code language: HTML, XML (xml)
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals