Set up Code Manager

You must set up Code Manager to use it as your code management tool.

To set up Code Manager, you must:
  1. Prepare for Managing environments with a control repository. This involves creating a Git control repository that has a Puppetfile.
  2. Create a control repository with Git for your code.
    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 development branch 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.
  3. Configure Code Manager.
  4. Optional: Customize Code Manager configuration in Hiera
  5. 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.