Sign inSign up

vshn/puppet-puppetdb

By vshn

Updated about 5 years ago

VSHN Puppet Environment in Docker - PuppetDB

Image
0

7.2K

vshn/puppet-puppetdb repository overview

PuppetDB

Docker Hub: vshn/puppet-puppetdb

Introduction

PuppetDB is used for storage backend for Puppetserver. This image configures PuppetDB to be run in Docker.

Usage

Environment variables
NameDescriptionDefault value
CA_SERVERPuppet CA server to request certificatepuppetca.local
POSTGRES_PASSWORDPassword for Postgres user-
POSTGRES_USERUsername for Postgres connection-
PUPPETDB_NODETTLPuppetDB node-ttl (default was 7d)30d
PUPPETDB_WHITELISTSet to true to enable puppetdb whitelist- (false)
PUPPETDB_MAXPOOLSIZEmaximum-pool-size database setting25
PuppetDB Certificate Whitelist

By default any valid certificate from the CA can query anything that's in the PuppetDB. This means puppet agents can query all the information for any other agent in the PuppetDB, too.

See: https://puppet.com/docs/puppetdb/5.2/configure.html#puppetdb-settings

This is a big security issue and you should limit PuppetDB access to Puppetmasters and other carefully selected systems. Set Env PUPPETDB_WHITELIST to true and docker mount a whitelist to /etc/puppetlabs/puppetdb/certificate-whitelist

Certificates of normal puppet agents should never be on the whitelist!

Details

  • Ports exposed: 8080 8081
  • Volumes: -
  • Based on: ubuntu:16.04
Entrypoint scripts
NameDescription
10-tls-setup.shRequest a certificate from Puppet CA and configure PuppetDB to use it
20-whitelist.shConfigures the use of a client certificate whitelist

Tag summary

Content type

Image

Digest

Size

187.5 MB

Last updated

about 5 years ago

docker pull vshn/puppet-puppetdb:6.9