--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAM7Cn44jJRke_JmTJjXjt%2BUguFZF1N%2Bwaxm2OSzrtB3-m07TGQ%40mail.gmail.com.
# Disable default VHOST in Apache
class { 'apache':
default_vhost => false,
purge_configs => true,
}
# Configure Puppetboard
class { '::puppetboard':
groups => puppet,
manage_git => true,
manage_virtualenv => false,
puppetdb_host => '<Your puppet DB host>',
puppetdb_port => 8081,
puppetdb_key => $::puppet::params::hostprivkey,
puppetdb_cert => $::puppet::params::hostcert,
puppetdb_timeout => 300,
reports_count => 40,
offline_mode => true,
}
# create VHOST config
class { '::puppetboard::apache::vhost':
vhost_name => 'PupppetDashBoard.mydomainname',
port => 80;
}
# Enable WSGI module in Apache
class { '::apache::mod::wsgi':
package_name => 'libapache2-mod-wsgi-py3',
mod_path => '/usr/lib/apache2/modules/mod_wsgi.so-3.8';
}
Download pupdashboard from https://github.com/voxpupuli/puppetboard in /srv/puppetboard/