Set up r10k
Set up r10k as your code management tool before you begin.
Create a control repository with Git for your
Note: r10k uses this control Git repository to maintain and deploy your Puppet code and data.
You can also use the control repository to create environments in your Puppet infrastructure, by creating a branch in your control repository for each environment. As you update your control repository, r10k keeps each of your environments updated.
Create a Puppetfile to manage the content for
This file specifies which modules and data to install in your environment, including what version of content to install, and where to download the content.
Configure r10k in the console's primary server profile. Optionally, you can also customize your r10k configuration in Hiera.
- Run r10k to deploy environments from the command line.