🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

How to install puppet Agent?

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)

Subscribe
Notify of
guest


0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x