A control repository template
Go to file
Nick Walker f5cb1fa757 Update config_version to use a script that does not require git
The config_version now uses a script that will do one of two
things:

1. call config_version.rb which uses rugged to find the information
about the latest commit if PE is on version 2015.2 or newer

2. make a call to git if the PE version is less than 2015.2
2015-08-03 17:05:06 -07:00
hieradata Rename defaults.yaml to common.yaml 2015-05-15 11:40:37 -07:00
manifests Update site.pp to work OOTB 2015-05-11 15:28:42 -07:00
scripts Update config_version to use a script that does not require git 2015-08-03 17:05:06 -07:00
site Remove hiera.yaml and instead manage it with puppet code 2015-08-03 14:49:06 -07:00
configure_r10k.pp Remove purgedirs 2015-06-25 10:54:39 -07:00
environment.conf Update config_version to use a script that does not require git 2015-08-03 17:05:06 -07:00
Puppetfile Remove hiera.yaml and instead manage it with puppet code 2015-08-03 14:49:06 -07:00
README.md Update README.md 2015-05-26 10:00:02 -07:00

Before Starting:

If you've already written or download modules when you start using r10k it will remove all of the existing modules and replace them with what you define in your Puppetfile. Please copy or move your existing modules to another directory to ensure you do not lose any work you've already started.

How to Use This Repo

  1. Clone this repo down to your master (in /tmp is fine) and upload it to your own internal git server
  2. Edit configure_r10k.pp so that the server parameter is set to your interal git server and repo name
  3. On your Master, run puppet module install zack/r10k
  4. On your Master, run puppet apply configure_r10k.pp
  • This will install r10k and point it at the repo we setup in step 1
  1. You're now ready to run r10k deploy environment -p --verbose which will deploy modules from your Puppetfile

Side note: You can remove configure_r10k.pp from the repo now.