Using environments
Environments allow for the logical separation of different stages of development. A very common workflow for Puppet installations is to create multiple environments and promote code between the different environments. If you are fortunate enough to have Git in your installation, you can use Git branches as environments. This allows you to switch environments just by checking out a different branch. You can promote code between environments by merging branches. When creating your environments, production should be the endpoint in your code progression. A common starting point is dev, or development. Many installations will have a pre-development or a sandbox environment as well. When you have several environments, the progression ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access