Skip to content

Full puppet environment with PuppetDB and PuppetBoard running on Docker

Notifications You must be signed in to change notification settings

miklinux/docker-puppet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-puppet

Deploys a full puppet environment with:

  • Puppet master
  • PuppetDB
  • PostgreSQL
  • PuppetBoard

Certificate auto-signing is active by default.

It can be deactivated setting the AUTOSIGN=false enviroment variable in docker-compose.yml, but you need to remember to sign the certificate for PuppetDB on the first provisioning:

./puppetserver ca sign --certname puppetdb

Usage

Clone the repository

git clone git@github.com:miklinux/docker-puppet.git
cd docker-puppet

Start the environment

docker compose up -d

Check logs to ensure the environment is up and running

docker compose logs -f

Deploy puppet environment via r10k

./r10k deploy environment production -v

Other commands

List certificates:

./puppetserver ca list --all

Sign certificate:

./puppetserver ca sign --certname foo.example.com

Remove a node:

./puppet node clean foo.example.com
./puppet node deactivate foo.example.com

About

Full puppet environment with PuppetDB and PuppetBoard running on Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages