Skip to content

supercow/multiple_puppetdb_vagrant_stack

Repository files navigation

Sandbox environment for multiple PuppetDB Servers

This Vagrant environment is a fork of puppet-debugging-kit that automatically creates a Puppet infrastructure with:

  • A MoM with a PostgreSQL database
  • Two PuppetDB servers behind an HAProxy load balancer
  • One separate compile master using the load balanced PuppetDB VIP

A shared certificate is generated and shared amongst the PuppetDB servers to avoid issues related to SERVER-207.

This environment is created as an example of how to configure multiple PuppetDB instances when load needs to be distributed. It should be used as a reference, and not copied completely in a production deployment.

Using this environment

  1. bundle install
  2. bundle exec vagrant up
  3. Run puppet agent -t on the mom.vm
  4. Sign the compile master cert with --allow-dns-alt-names on the MoM
  5. Run puppet agent -t on each server
  6. Add puppet.vm to the agent's host file and run puppet agent -t. Verify from the PuppetDB logs that one of the load balanced PuppetDB servers is receiving the commands instead of the MoM.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published