puppet command not found

In this troubleshooting guide we learn how to fix puppet command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

puppet: command not found

or when using sudo you get the following error message

sudo: puppet: command not found

Solutions to puppet: command not found

How To Fix puppet: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu puppet is provided by puppet package.

puppet is:

Puppet is a configuration management system that allows you to define the state of your IT infrastructure, then automatically enforces the correct state.

This package contains the puppet agent software and documentation.

To install and configure a puppet master, install one of the “puppet-master” or “puppet-master-passenger” packages.

To fix this problem, we can install more using the command below.

sudo apt-get -y install puppet

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install puppet.

sudo apt -y install puppet

Or if you have aptitude installed you can use the following command.

sudo aptitude install puppet

Summary

In this tutorial we learn how to fix puppet command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.