Skip to content

tommymcgahee/vps-puppet-configuration

Repository files navigation

VPS Puppet Configuration

Build Status

This is the Puppet configuration / control repository behind my personal development VPS.

Authenticated pushes to the repository trigger the following:

  1. Travis CI clones the repo and builds an image that includes the docker service
  2. Travis decrypts a GitHub deploy key that is passed to docker during docker build to allow r10k-git interaction with this repo
  3. A test container is built using centos 7 + Dockerfile.centos-7 and installs Puppet 5.x and the r10k gem
  4. Travis begins docker run and starts entrypoint.sh
    1. r10k pulls this control repo and creates dynamic environments
    2. Puppet runs a module dependency check
    3. Puppet apply compiles and applies the catalog(s), configuring the container
  5. On success - Travis notifies the development VPS via a webhook which a Sinatra app listens for on the VPS
  6. Development VPS clones the control repo and reruns r10k / Puppet apply locally

About

Puppet configuration for the VPS behind tommymcgahee.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published