Thursday, 28 October 2010

Installing Puppet dashboard in ubuntu/centos using PPA and yum

The Puppet Dashboard is a web interface and reporting tool for your Puppet installation. Dashboard facilitates management and configuration tasks, provides a quick visual snapshot of important system information, and delivers valuable reports. In the future, it will also serve to integrate with other IT tools commonly used alongside Puppet.

Install Puppet dashboard in ubuntu lucid

Open /etc/apt/sources.list file

gksudo gedit /etc/apt/sources.list

add the following lines

deb http://apt.puppetlabs.com/ubuntu lucid main
deb-src http://apt.puppetlabs.com/ubuntu lucid main

Save and exit the file

Add GPG key

$ gpg --recv-key 8347A27F

$ gpg -a --export 8347A27F | sudo apt-key add -

Update the source list

sudo apt-get update

Install Puppet Dashboard package

sudo apt-get install puppet-dashboard

The Dashboard will be installed in /usr/share/puppet-dashboard and you run the server from here or create a Passenger configuration.

Install Puppet dashboard in centos

Create a Yum repo entry for Puppet Labs

#vi /etc/yum.repos.d/puppetlabs.repo

Add the following lines

[puppetlabs]
name=Puppet Labs Packages
baseurl=http://yum.puppetlabs.com/base/
enabled=1
gpgcheck=1
gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-reductive

Save and exit the file

sudo yum install puppet-dashboard

You will be prompted to install the Puppet Labs release key as part of the installation process.

The Dashboard will be installed in /usr/share/puppet-dashboard and you run the server from here or create a Passenger configuration.

0 comments:

Post a Comment