/dockpupp

A Docker container running a Puppet master on centos:7

Primary LanguageShellMIT LicenseMIT

dockpupp

PuppetDB and master running in a CentOS 7 Docker container.

  • First Install Docker
  • Created to make testing Puppet modules easier.
  • This is a single-server setup, the master is its own node.
  • Copy (or map) your modules to ./modules, they will be mapped to the container when it is run.
  • Any YAML files in your module directories will be merged into /var/lib/hiera/common.yaml when the container boots so that the Hiera data is automatically available to your modules. Changes made to common.yaml are lost when you 'exit'.
  • The container is disposable, your data is not.
  • Changes to /opt/modules/ in a container WILL APPLY to the ./modules directory of the host system.*
  • To build the image run ./Build.sh
  • To start a container based on that image run ./Go.sh

other