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 help
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 help
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 help
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/
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
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND