Sign inSign up

m4ce/puppetboard

By m4ce

•Updated over 9 years ago

Docker image to run Puppetboard (A web frontend for PuppetDB).

Image
0

2.3K

m4ce/puppetboard repository overview

⁠Docker image for Puppetboard

Docker image to run Puppetboard⁠ (A web frontend for PuppetDB).

See the usage section for more details.

⁠Usage

Generic configuration can be driven by exporting the following enviroment variables:

Environment variableDescriptionDefault
PUPPETBOARD_PUPPETDB_HOSTPuppetDB hostpuppetdb
PUPPETBOARD_PUPPETDB_PORTPuppetDB port8080
PUPPETBOARD_PUPPETDB_SSL_VERIFYEnable SSL verification for PuppetDB communicationfalse
PUPPETBOARD_PUPPETDB_KEYSSL private key
PUPPETBOARD_PUPPETDB_CERTSSL public key
PUPPETBOARD_PUPPETDB_TIMEOUTPuppetDB query timeout20
PUPPETBOARD_DEFAULT_ENVIRONMENTDefault environmentproduction
PUPPETBOARD_UNRESPONSIVE_HOURSThe amount of hours since the last check-in after which a node is considered unresponsive3
PUPPETBOARD_ENABLE_QUERYQuery tab to show up in the web interface allowing users to write and execute arbitrary queries against a set of endpoints in PuppetDBtrue
PUPPETBOARD_LOCALISE_TIMESTAMPLocalise timestampstrue
PUPPETBOARD_LOGLEVELA string representing the loglevelinfo
PUPPETBOARD_REPORTS_COUNTLimit of the number of reports to load on the node or any reports page10
PUPPETBOARD_OFFLINE_MODELoad static assets (jquery, semantic-ui, tablesorter, etc) from the local web server instead of a CDNfalse
PUPPETBOARD_ENABLE_CATALOGAllows the user to view a node's latest catalogfalse
PUPPETBOARD_OVERVIEW_FILTER
PUPPETBOARD_GRAPH_FACTSList of fact names to tell PuppetBoard to generate a pie-chart on the fact pagearchitecture clientversion domain lsbcodename lsbdistcodename lsbdistid lsbdistrelease lsbmajdistrelease netmask osfamily puppetversion processorcount
PUPPETBOARD_INVENTORY_FACTSA list of tuples that serve as the column header and the fact name to search for to create the inventory page[('Hostname','fqdn'),('IP Address','ipaddress'),('OS','lsbdistdescription'),('Architecture','hardwaremodel'),('Kernel Version','kernelrelease'),('Puppet Version','puppetversion')]
PUPPETBOARD_REFRESH_RATENumber of seconds to wait until the index page is automatically refreshed30

⁠Run

docker run -d --restart=always -p 8000:8000 -e PUPPETBOARD_LOGLEVEL=warning m4ce/puppetboard

⁠Contact

Matteo Cerutti - [email protected]⁠

Tag summary

Content type

Image

Digest

Size

95.3 MB

Last updated

over 9 years ago

docker pull m4ce/puppetboard