Book Image

Mastering Puppet

By : Thomas Uphill
Book Image

Mastering Puppet

By: Thomas Uphill

Overview of this book

Table of Contents (17 chapters)

Puppet Dashboard


The Dashboard is an open source GUI. It was previously used by Puppet enterprise. Dashboard uses MySQL as its backend unlike Foreman.

Tip

New versions of Puppet enterprise use the Puppet console, which uses PostgreSQL as its backend.

We'll create another vm for Dashboard. Starting with an empty image, we will add the puppetlabs repository and the mysql-server packages using the following commands:

# yum install  https://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm mysql-server
# yum install puppet-dashboard

With MySQL installed, we'll start MySQL with service mysqld start, and then run the secure installation script to set a root password before connecting to the database, as shown in the following command:

# mysql_secure_installation

The Dashboard works with reports from the nodes, some of which can be very large. To accommodate this, change the maximum size of a commit message, as noted in the Dashboard installation manual (http://docs.puppetlabs...