Puppet5+Puppetboard on Debian 9 Stretch

6GB RAM min required

install java:

apt-get install openjdk-8-jdk-headless

add puppet5 repo:

dpkg -i puppet5-release-jessie.deb

add jessie repo for libreadline6

echo "deb jessie main" > /etc/apt/sources.list.d/jessie.list
apt-get update
apt-get -t jessie install libreadline6
rm puppet5-release-jessie.deb /etc/apt/sources.list.d/jessie.list
apt-get update

Install puppet5

apt-get install puppetserver
ln -s /opt/puppetlabs/bin/puppet /usr/bin/
systemctl enable puppetserver
systemctl start puppetserver
puppet agent --test

Install puppetdb:

apt-get install puppetdb puppetdb-termini postgresql postgresql-contrib apt-transport-https
puppet module install puppetlabs-puppetdb
nano /etc/puppetlabs/code/environments/manifests/site.pp 
node puppet5 {
  class { 'puppetdb': }
  class { 'puppetdb::master::config': }
puppet agent --test

puppet resource service puppetdb ensure=running enable=true


tail /var/log/puppetlabs/puppetdb/puppetdb.log

If JAVA SSL problem:

puppetdb ssl-setup

Install Puppetboard:

nano /etc/puppetlabs/puppet/puppet.conf


reports = store,puppetdb

report = true

server =
systemctl restart puppetserver
puppet agent --test
nano /etc/puppetlabs/code/environments/manifests/site.pp
apt-get install virtualenv
puppet module install puppetlabs-apache
puppet module install puppet-puppetboard

puppet cert generate
puppet agent --test

go to https://puppet5serverIP

Tagged on: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *