Sign inSign up

vladgh/puppetserver

By vladgh

Updated about 6 years ago

Vlad's Puppet Server

Image
2

10K+

vladgh/puppetserver repository overview

PuppetServer Docker Image (Dockerfile)

badge badge badge badge

Available environment variables

PUPPETDB [Boolean]

Configures Puppet Server for PuppetDB. Defaults to false

docker run -d -e PUPPETDB=true vladgh/puppetserver
AUTOSIGN [Boolean/String]

Puppet auto signing. For more information regarding policy based auto signing go to https://docs.puppet.com/puppet/latest/reference/ssl_autosign.html#policy-based-autosigning

docker run -d -e AUTOSIGN=true vladgh/puppetserver
docker run -d -e AUTOSIGN=false vladgh/puppetserver
docker run -d -e AUTOSIGN=/usr/local/bin/autosign.sh vladgh/puppetserver
DNS_ALT_NAMES [List]

A comma-separated list of alternate DNS names for Puppet Server. For more information go to https://docs.puppet.com/puppet/latest/reference/configuration.html#dnsaltnames

docker run -d -e DNS_ALT_NAMES='puppet,puppet.example.com,puppet.site-a.example.com' vladgh/puppetserver
JAVA_ARGS [String]

For more information regarding memory tuning go to https://docs.puppet.com/puppetserver/2.4/install_from_packages.html#memory-allocation and https://docs.puppet.com/puppetserver/2.4/tuning_guide.html

docker run -d -e JAVA_ARGS='-Xms512m -Xmx512m' vladgh/puppetserver

Complete run example

docker run \
  --detach \
  -p 8140:8140 \
  --hostname puppet \
  --name puppet \
  -v $(pwd)/code:/etc/puppetlabs/code \
  -v $(pwd)/ssl:/etc/puppetlabs/puppet/ssl \
  -e PUPPETDB=true \
  -e AUTOSIGN=true \
  -e DNS_ALT_NAMES='puppet,puppet.example.com,puppet.site-a.example.com' \
  -e JAVA_ARGS='-Xms512m -Xmx512m' \
  vladgh/puppetserver

Tag summary

Content type

Image

Digest

sha256:73f75a563

Size

176 MB

Last updated

about 6 years ago

docker pull vladgh/puppetserver