Configure impact analysis
Impact analysis is a Continuous Delivery for Puppet Enterprise (PE) tool that shows you the potential impact that new Puppet code can have on your PE-managed infrastructure, without actually merging the new code. When you add impact analysis to a control/module repo's pipeline, Continuous Delivery for PE automatically generates a report on every proposed code change to that repo.
Configuration process and preparation
To configure impact analysis, you must set the destination server for impact analysis
tasks, install the puppetlabs-cd4pe
module, and make
a classification update.
Set the impact analysis destination
When you integrate a new Puppet Enterprise (PE) instance with Continuous Delivery for PE, impact analysis tasks are automatically configured to run on the primary server. In many cases, it's better to change the impact analysis task destination to a different server, such as a compiler or load balancer, to preserve the primary server's compile capacity.
- Best: A load balancer managing a pool of compilers.
- Good: An individual compiler dedicated to impact analysis tasks.
-
For small installations only: The PE
primary server. Note: The primary server is the default configuration for running impact analysis tasks, but it is best suited to PE installations with limited node counts using the standard installation architecture. Impact analysis tasks can easily overrun the primary server's limited compile capacity in a larger distributed architecture.
If you choose to run impact analysis tasks on the primary server, skip to Install modules.
Optional impact analysis settings
To adjust these optional settings, edit your Puppet Enterprise (PE) integration settings and expand the Impact Analysis Settings section.
Concurrent catalog compilations
This setting sets the maximum number of catalog compilations Continuous Delivery for PE is permitted to perform simultaneously. By default, Continuous Delivery for PE performs up to 10 concurrent catalog compilations.
Tune this number to fit the needs and limitations of your installation. A lower number preserves processing capacity, while a higher number reduces the time Continuous Delivery for PE spends completing each impact analysis task.
Install modules
Impact analysis requires you to install the puppetlabs-cd4pe
module and its dependent modules.
Update classification
Once puppetlabs-cdpe
and its dependencies are
deployed, you must update classification of your nodes.