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 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

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x