Configure Code Manager concurrency

Enable Code Manager in Puppet Enterprise (PE), and then use the variables to configure Code Manager concurrency.

Here are the variables you can use to configure Code Manager concurrency and a description of what they do.

Deploy pool

The deploy pool controls the number of workers that fetch environments off the queue. Each deploy pool worker thread shells out to r10k to deploy an environment.

Note: Each worker thread has a copy of the cache stored in: /opt/puppetlabs/puppet/cache.

The puppet_enterprise::master::code_manager::deploy_pool_size defaults to 2. Set this in Hiera.

Download pool

The download pool controls the number of r10k threads that check for new versions of a module in the environment.

The puppet_enterprise::master::code_manager::download_pool_size defaults to 4. Set this in Hiera.

Versioned sync pool

The versioned sync pool controls the number of threads that versioned-dirs uses to parallelize environment deploys. The versioned-dirs is an optional GIT configuration parameter that controls whether to create a new directory with version information for each significant commit pulled down from the storage service.

The puppet_enterprise::master::file_sync::versioned_sync_pool defaults to 2. Set this in Hiera.