Puppet Ubuntu 18.04 Installation – Step-by-step

February 26, 2023 | By the+gnu+linux+evangelist.

Installing

  1. 2. Enabling Puppet Repository

    Add Puppet Repository for Ubuntu GNU/Linux

    Enabling Puppet Repo for Ubuntu
  2. 3. Installing Puppet

    Then to Install Puppet in Ubuntu
    Simply run:

    sudo apt install puppetserver puppet-agent
  3. 4. Amending Root Path

    Again Append Puppet into the Sudo Path
    So to enable it Configure the sudoers File with

    sudo visudo

    And append to the secure_path Var definition:

    :/opt/puppetlabs/bin

    Save & Exit.
    Again amend the User’s Path with:

    echo "export PATH=$PATH:/opt/puppetlabs/bin" >> ~/.bashrc
  4. 5. Starting Puppet Services

    Next to Puppet Services
    Run:

    sudo systemctl start puppet

    And again:

    sudo systemctl start puppetserver

    Use the same Commands with “enable” to get them Started at Boot.

Contents


QuickChic Theme • Powered by WordPress