Set up Code Manager
You must set up Code Manager to use it as your code management tool.
- Prepare for Managing environments with a control repository. This involves creating a Git control repository that has a Puppetfile.
Create a control repository with Git for your
Code Manager uses the control repo to maintain and deploy your Puppet code and data. You can also create separate deployment environments in your Puppet infrastructure by creating branches in your control repository (such as a
developmentbranch for a development environment). Code Manager tracks your environments and updates them according to the changes you make in your control repo.The Puppetfile specifies which modules and data to install in your environment, including what versions to install, and where to download the modules or other content.
- Configure Code Manager.
- Optional: Customize Code Manager configuration in Hiera
- Deploy environments with a deployment trigger (recommended) or from the command line. For the initial configuration, you might prefer to use the command line, and then set up an automated trigger.