control-repo/README.md

16 lines
921 B
Markdown
Raw Normal View History

2015-05-26 17:00:02 +00: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
2015-01-14 00:50:53 +00:00
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
2015-01-14 22:32:59 +00:00
3. On your Master, run `puppet module install zack/r10k`
4. On your Master, run `puppet apply configure_r10k.pp`
2015-01-14 00:50:53 +00:00
- This will install r10k and point it at the repo we setup in step 1
2015-05-15 19:05:33 +00:00
5. You're now ready to run `r10k deploy environment -p --verbose` which will deploy modules from your Puppetfile
2015-01-15 01:17:58 +00:00
Side note: You can remove configure_r10k.pp from the repo now.
2015-01-14 00:50:53 +00:00