Hey; To put this in perspective, I'm a sysadmin, not a developer. While I've used git for a couple of years, until today, I could easily count the number of times I issued a 'git branch' command.
I'm practicing setting up a new puppet 4 server and, after some research, I've got various environments under git management and have successfully 'promoted code' from test through production. It's a wee bit tedious but I'm sure I could get used to it. What I'm hoping is to have someone more familiar the process verify I'm doing it somewhat close to right and/or make suggestions on an improvements. I have heard of r10k; however, I'm one of those that has to know what's going on under the covers. Up until now, r10k has been of of those 'developer' things. Once I run through this a few times, *then* I'll start playing with r10k. So, bit of a build up. Here's what I have: one git repo covering all puppet environments thusly:: # git branch -r origin/HEAD -> origin/master origin/dev origin/master origin/prod origin/qa origin/test origin/uat On a different system, one pulls the test system, develops code, commits, pushes, etc. In the test environment, the admin pulls the updated work and tests # pwd /etc/puppetlabs/code/environments/test # git branch * test once the tests are complete, a responsible admin accesses the dev environment and executes: git checkout test git pull # if necessary git checkout dev git merge test Process iterates through the environments to prod. # git log --oneline e298de7 prod.rst: mved from uat 07f3ab1 uat: merged from qa a20a85c qa: mved from dev 2f644f2 dev: renamed from test c8c067b test: added a432124 puppet production environment initial check in Thanks for any hints/tips/suggestion. Doug O'Leary -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/729cd1f2-2828-4d46-b008-2e0033fed34d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.