Integrate with Puppet Enterprise
To set up an integration between your Puppet Enterprise (PE) instance and Continuous Delivery for PE, you must first set up a dedicated PE user with appropriate permissions, then add your PE instance's credentials to Continuous Delivery for PE.
You must enable Code Manager on the PE instance before integrating with Continuous Delivery for PE. For instructions, see Configure Code Manager.
Do not enable invalid branches in PE. Ensure that the Hiera key
puppet_enterprise::master::code_manager::invalid_branches
is not set
to correct
in PE. This is set in the PE console using Node Groups > PE Infrastructure > PE
Master > Configuration Data.
dns_alt_names
configured. To confirm your certificate
configuration,
run:openssl x509 -in $(puppet config print hostcert) -text |grep -A 1 "Subject Alternative Name"
If
this returns no output, you must regenerate the primary server certificate before
integrating PE with Continuous Delivery for PE.
For instructions, go to Regenerate primary server certificates in the
PE documentation.Create a Continuous Delivery user and user role in PE
Create a "Continuous Delivery" user and user role in PE. You'll use this to generate the PE authentication token required during the setup process and to view a centralized log of the activities Continuous Delivery for PE performs on your behalf.
Add your Puppet Enterprise credentials
Establishing an integration with your Puppet Enterprise (PE) instance allows Continuous Delivery for PE to work with PE tools, such as Code Manager and the orchestrator service, to deploy Puppet code changes to your nodes.
Your PE instance is now integrated with Continuous Delivery for PE. You can see integration details on the Puppet Enterprise integrations page. To edit an integration, click .
To enable impact analysis for this instance, see Configure impact analysis.
If you want code deployments to skip unavailable compilers, go to Enable compiler maintenance mode.
To delete an integration, click
. You must remove all hardware and pipelines associated with the integration before you can delete the integration itself.Create environment node groups
For code deployments managed by Continuous Delivery for PE to work correctly, your environment node groups must be set up in a specific hierarchy.