How To Install puppet-module-oci on Debian 10

Learn how to install puppet-module-oci on Debian 10 with this tutorial. puppet-module-oci is automatic PXE and puppet-master installer for OpenStack - puppet module

Introduction

In this tutorial we learn how to install puppet-module-oci on Debian 10.

What is puppet-module-oci

puppet-module-oci is:

OCI (OpenStack Cluster Installer) is a software to provision an OpenStack cluster automatically. This package install a provisioning machine, which consists of a DHCP server, a PXE boot server, and a puppet-master.

Once computers in the cluster boot for the first time, a Debian live system is served by OCI, to act as a discovery image. This live system then reports the hardware features back to OCI. The computers can then be installed with Debian from that live system, configured with a puppet-agent that will connect to the puppet-master of OCI. OpenStack is then provisionned in these machines.

This package contains the puppet module.

There are three methods to install puppet-module-oci on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install puppet-module-oci Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install puppet-module-oci using apt-get by running the following command:

sudo apt-get -y install puppet-module-oci

Install puppet-module-oci Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install puppet-module-oci using apt by running the following command:

sudo apt -y install puppet-module-oci

Install puppet-module-oci Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install puppet-module-oci using aptitude by running the following command:

sudo aptitude -y install puppet-module-oci

How To Uninstall puppet-module-oci on Debian 10

To uninstall only the puppet-module-oci package we can use the following command:

sudo apt-get remove puppet-module-oci

Uninstall puppet-module-oci And Its Dependencies

To uninstall puppet-module-oci and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove puppet-module-oci

Remove puppet-module-oci Configurations and Data

To remove puppet-module-oci configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge puppet-module-oci

Remove puppet-module-oci configuration, data, and all of its dependencies

We can use the following command to remove puppet-module-oci configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge puppet-module-oci

Dependencies

puppet-module-oci have the following dependencies:

References

Summary

In this tutorial we learn how to install puppet-module-oci package on Debian 10 using different package management tools: apt, apt-get and aptitude.