Configure Code Manager concurrency

Enable Code Manager in Puppet Enterprise (PE), and then use the variables to configureCode 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.