Punchy Puppets Mac OS

Posted on  by
  • Before installing Puppet agent, read the pre-install tasks and install Puppet Server. Note: If you’ve.
  • Macprofileshandler module for Puppet Description. This module provides two resource types for interacting with macOS configuration profiles. The profilemanager resource type is the back-end type that interacts with /usr/bin/profiles for creating, destroying and verifying a resource type.

Puppet is an open-source admin engine that uses a network of master and client nodes to help you perform administrative tasks remotely. The Puppet agent app, used to create client nodes, is available on Linux, Unix, Windows, and macOS.

Performing major upgrades of your operating system with PE installed can cause errors and issues with PE. A major operating system upgrade is an upgrade to a new whole version, such as an upgrade from CentOS 6.0 to 7.0; it does not refer to a minor version upgrade, like CentOS 6.5 to 6.6.

In this tutorial, we will go over the steps you need to take to install Puppet Agent on macOS.

  • A system running macOS Catalina
  • A user with admin-level privileges
  • Access to the terminal window

Running Puppet involves installing a Puppet Server that acts as the master node and deploying a Puppet Agent that acts as the client node.

Official Puppet Server packages support Linux distributions only. Users can build and install Puppet Server on any OS from source, but running it that way is not recommended for a production server.

In the steps below, we install and configure the Puppet Server on Ubuntu and then set up the Puppet Agent on macOS.

Perform a complete installation of Puppet on a Linux system. This system serves as the master node in your Puppet network.

Follow the steps outlined in our article to install Puppet on Ubuntu.

Puppet uses hostnames to set up communication between the master and client nodes. Set up a unique hostname for each node (both on master and client machines):

1. In the terminal, open the hosts file by using:

2. Add the following lines at the end of the hosts file:

Where:

    • [puppet master ip] is the IP address of the master node.
    • [puppet client ip] is the IP address of the client node running macOS.

3. Press Ctrl + X to close the file, and then type Y and press Enter to save the changes you made.

1. Browse to the Puppet Agent download page.

Puppet Agent packages for macOS use the following naming convention:

Punchy Puppets Mac Os Catalina

Where:

    • [package version] details the version of Puppet Agent.
    • [OS version] details the supported version of macOS.

2. Find and download the desired Puppet Agent package.

Note: At the time of writing this article, Puppet supports macOS 10.12 (Sierra), 10.13 (High Sierra), 10.14 (Mojave), and 10.15 (Catalina).

The Puppet Agent can be installed on macOS Homebrew or via terminal.

Punchy Puppets Mac Os 11

1. If you don’t already have Homebrew, install it using:

If you already have a copy of Homebrew, update it with:

2. With the latest version of Homebrew, install the Puppet Agent with:

1. Mount the Puppet Agent package by using:

Punchy Puppets Mac OS

Where:

Punchy Puppets Mac Os Download

    • [dmg file path] is the file path for the package download location.

2. After mounting the package, an output line appears ending with /Volumes/puppet-agent-[version], where [version] is the version of the Puppet Agent you are installing. Change the directory to this point with:

3. Install the package using:

4. Verify the installation with:

After following this tutorial, you should have a copy of Puppet Agent set up on your macOS system.

Find out more about Puppet and how it stacks up against other IaC tools in our Ansible vs Terraform vs Puppet comparison article.