puppetboard
: Base class for Puppetboard. Sets up the user and python environment.puppetboard::apache::conf
: Creates an entry in your apache configuration directory to run PuppetBoard server-wide (i.e. not in a vhost).puppetboard::apache::vhost
: Sets up an apache::vhost to run PuppetBoard, and writes an appropriate wsgi.py from templatepuppetboard::params
: == Class: puppetboard::params Defines default values for puppetboard parameters. Inherited by Class['puppetboard'].
Puppetboard::Syslogpriority
: type for the different Python log levels
class { 'puppetboard': user => 'pboard', group => 'pboard', basedir => '/www/puppetboard' } -> class { 'puppetboard::apache::conf': user => 'pboard', group => 'pboard', basedir => '/www/puppetboard' }
configure puppetboard with an apache config for a subpath (http://$fqdn/puppetboard)
The following parameters are available in the puppetboard
class.
Data type: String
Puppetboard system user.
Default value: 'puppetboard'
Data type: Optional[Stdlib::Absolutepath]
Puppetboard system user's home directory.
Default value: undef
Data type: String
Puppetboard system group.
Default value: 'puppetboard'
Data type: Optional[Variant[String[1], Array[String[1]]]]
additional groups for the user that runs puppetboard
Default value: undef
Data type: Stdlib::AbsolutePath
Base directory where to build puppetboard vcsrepo and python virtualenv.
Default value: '/srv/puppetboard'
Data type: String
Location of upstream Puppetboard GIT repository
Default value: 'https://github.com/voxpupuli/puppetboard'
Data type: String
PuppetDB Host
Default value: '127.0.0.1'
Data type: Stdlib::Port
PuppetDB Port
Default value: 8080
Data type: Optional[Stdlib::AbsolutePath]
path to PuppetMaster/CA signed client SSL key
Default value: undef
Data type: Variant[Boolean, Stdlib::AbsolutePath]
whether PuppetDB uses SSL or not (true or false), or the path to the puppet CA
Default value: false
Data type: Optional[Stdlib::AbsolutePath]
path to PuppetMaster/CA signed client SSL cert
Default value: undef
Data type: Integer[0]
timeout, in seconds, for connecting to PuppetDB
Default value: 20
Data type: String
host that dev server binds to/listens on
Default value: '127.0.0.1'
Data type: Stdlib::Port
port that dev server binds to/listens on
Default value: 5000
Data type: Integer[0]
number of hours after which a node is considered "unresponsive"
Default value: 3
Data type: Boolean
Whether to allow the user to browser catalog comparisons.
Default value: false
Data type: Boolean
Whether to allow the user to run raw queries against PuppetDB.
Default value: true
Data type: Boolean
Weather to load static assents (jquery, semantic-ui, tablesorter, etc)
Default value: false
Data type: Boolean
Whether to localise the timestamps in the UI.
Default value: true
Data type: Puppetboard::Syslogpriority
Python logging module log level.
Default value: 'info'
Data type: Optional[String[1]]
HTTP proxy server to use for pip/virtualenv.
Default value: undef
Data type: Optional[String[1]]
HTTP index server to use for pip/virtualenv.
Default value: undef
Data type: String[1]
set the default environment
Default value: 'production'
Data type: Boolean
Enable experimental features.
Default value: false
Data type: Optional[String]
Commit, tag, or branch from Puppetboard's Git repo to be used
Default value: undef
Data type: Boolean
If true, require the git package. If false do nothing.
Default value: false
Data type: Boolean
If true, require the virtualenv package. If false do nothing.
Default value: false
Data type: Pattern[/^3\.\d$/]
Python version to use in virtualenv.
Default value: $puppetboard::params::python_version
Data type: Stdlib::Absolutepath
Set location where virtualenv will be installed
Default value: "${basedir}/virtenv-puppetboard"
Data type: Boolean
If true, manage (create) this group. If false do nothing.
Default value: true
Data type: Boolean
If true, manage (create) this group. If false do nothing.
Default value: true
Data type: Boolean
If true, manage selinux policies for puppetboard. If false do nothing.
Default value: $puppetboard::params::manage_selinux
Data type: Integer[0]
This is the number of reports that we want the dashboard to display.
Default value: 10
Data type: Enum['public', 'private']
If set to 'public' puppetboard will listen on all interfaces
Default value: 'private'
Data type: Hash
Defaults to an empty hash '{}'. Used to pass in arbitrary key/value
Default value: {}
Data type: String[1]
Sets the Apache AllowOverride value
Default value: 'None'
Data type: Boolean
Whether to enable LDAP auth
Default value: false
Data type: Boolean
LDAP group to require on login
Default value: false
Data type: Stdlib::Absolutepath
path to the apache2 vhost directory
Default value: $puppetboard::params::apache_confd
Data type: String[1]
name of the apache2 service
Default value: $puppetboard::params::apache_service
Creates an entry in your apache configuration directory to run PuppetBoard server-wide (i.e. not in a vhost).
- Note Make sure you have purge_configs set to false in your apache class!
The following parameters are available in the puppetboard::apache::conf
class.
Data type: Stdlib::Unixpath
WSGI script alias source
Default value: '/puppetboard'
Data type: Integer[1]
Number of WSGI threads to use
Default value: 5
Data type: Integer[0]
Limit on number of requests allowed to daemon process Defaults to 0 (no limit)
Default value: 0
Data type: String[1]
WSGI daemon process user, and daemon process name
Default value: $puppetboard::user
Data type: String[1]
WSGI daemon process group owner, and daemon process group
Default value: $puppetboard::group
Data type: Stdlib::AbsolutePath
Base directory where to build puppetboard vcsrepo and python virtualenv.
Default value: $puppetboard::basedir
Data type: Boolean
Whether to enable LDAP auth
Default value: $puppetboard::enable_ldap_auth
Data type: Optional[String[1]]
LDAP Bind DN
Default value: undef
Data type: Optional[String[1]]
LDAP password
Default value: undef
Data type: Optional[String[1]]
LDAP connection string
Default value: undef
Data type: Optional[String[1]]
Determines if other authentication providers are used when a user can be mapped to a DN but the server cannot bind with the credentials
Default value: undef
Data type: Boolean
LDAP group to require on login
Default value: $puppetboard::ldap_require_group
Data type: Optional[String[1]]
LDAP group DN for LDAP group
Default value: undef
Data type: Stdlib::Absolutepath
Set location where virtualenv will be installed
Default value: $puppetboard::virtualenv_dir
Sets up an apache::vhost to run PuppetBoard, and writes an appropriate wsgi.py from template
The following parameters are available in the puppetboard::apache::vhost
class.
Data type: String[1]
The vhost ServerName.
Data type: Stdlib::Unixpath
WSGI script alias source
Default value: '/'
Data type: Stdlib::Port
Port for the vhost to listen on.
Default value: 5000
Data type: Boolean
If vhost should be configured with ssl
Default value: false
Data type: Optional[Stdlib::AbsolutePath]
Path to server SSL cert
Default value: undef
Data type: Optional[Stdlib::AbsolutePath]
Path to server SSL key
Default value: undef
Data type: Optional[Stdlib::AbsolutePath]
Path to server CA Chain file
Default value: undef
Data type: Integer[1]
Number of WSGI threads to use.
Default value: 5
Data type: String[1]
WSGI daemon process user, and daemon process name
Default value: $puppetboard::user
Data type: String[1]
WSGI daemon process group owner, and daemon process group
Default value: $puppetboard::group
Data type: Stdlib::AbsolutePath
Base directory where to build puppetboard vcsrepo and python virtualenv.
Default value: $puppetboard::basedir
Data type: String[1]
Sets the Apache AllowOverride value
Default value: $puppetboard::override
Data type: Boolean
Whether to enable LDAP auth
Default value: $puppetboard::enable_ldap_auth
Data type: Optional[String[1]]
LDAP Bind DN
Default value: undef
Data type: Optional[String[1]]
LDAP password
Default value: undef
Data type: Optional[String[1]]
LDAP connection string
Default value: undef
Data type: Optional[String[1]]
Determines if other authentication providers are used when a user can be mapped to a DN but the server cannot bind with the credentials
Default value: undef
Data type: Boolean
LDAP group to require on login
Default value: $puppetboard::ldap_require_group
Data type: Optional[String[1]]
LDAP group DN for LDAP group
Default value: undef
Data type: Stdlib::Absolutepath
Set location where virtualenv will be installed
Default value: $puppetboard::virtualenv_dir
Data type: Hash
A hash passed to the apache::vhost
for custom settings
Default value: {}
== Class: puppetboard::params
Defines default values for puppetboard parameters.
Inherited by Class['puppetboard'].
type for the different Python log levels
Alias of Enum['debug', 'info', 'notice', 'warning', 'err', 'crit', 'alert', 'emerg']