Customize Code Manager configuration in Hiera
Set parameters in Hiera to customize your Code Manager configuration.
To customize your configuration:
- In your control repo, open the
data/common.yaml
file. - Add parameters to the
puppet_enterprise::master::code_manager puppet_enterprise::master::code_management
class. Use the following format:puppet_enterprise::master::code_manager::<PARAMETER>: <SETTING>
For example, these parameters increase the size of the default worker pool and reduce the maximum time allowed to deploy a single environment:
puppet_enterprise::master::code_manager::deploy_pool_size: 4 puppet_enterprise::master::code_manager::timeouts_deploy: 300
Some parameters are described in detail below, along with a list of all Code Manager parameters.
- Run Puppet on the primary server. The
Puppet run updates the Code Manager configuration file.Do not manually edit the Code Manager configuration file. Puppet automatically manages this file, and it overwrites or discards any manual changes you make.