Upgrading
New versions of Continuous Delivery for Puppet Enterprise (PE) are released regularly. Upgrading to the current version ensures you're always taking advantage of the latest features, fixes, and improvements.
Continuous Delivery for PE runs inside a Docker
container, and new versions are released to Docker Hub.
Upgrading to the latest version of Continuous Delivery for PE requires destroying
the current Docker container and building a new container
in its place that includes the latest version of the software. The puppetlabs-cd4pe
module includes a docker-cd4pe
service that manages this process for you; once the module is
installed on your system, when you stop and restart the docker-cd4pe
service, the container rebuild process is completed
automatically.
Upgrading to the latest version of Continuous Delivery for PE
If you used the puppetlabs-cd4pe
module to install
Continuous Delivery for PE, stop and restart the docker-cd4pe
service with either systemctl
or Puppet.
With systemctl
:
- Stop the service:
systemctl stop docker-cd4pe
- Restart the service:
systemctl start docker-cd4pe
- Stop the service:
puppet resource service docker-cd4pe ensure=stopped
- Restart the service:
puppet resource service docker-cd4pe ensure=running
If you installed Continuous Delivery for PE from the PE console, install the puppetlabs-cd4pe
module to automate
upgrades. Then, stop and restart the docker-cd4pe
service with either systemctl
or Puppet.
With systemctl
:
- Stop the service:
systemctl stop docker-cd4pe
- Restart the service:
systemctl start docker-cd4pe
- Stop the service:
puppet resource service docker-cd4pe ensure=stopped
- Restart the service:
puppet resource service docker-cd4pe ensure=running
Automate upgrades of Continuous Delivery for PE
Install the puppetlabs-cd4pe
module, then create and classify a node group to automate management of your Continuous Delivery for PE installation's version.
docker-cd4pe
service managed by the module. Upgrade to the 3.x series
Upgrades from the Continuous Delivery for Puppet Enterprise (PE) 2.x series to the 3.x
series are not automatic. Instead, you must upgrade your version of the software by updating
your puppetlabs-cd4pe
module classification.
puppetlabs-cd4pe
module, follow these instructions to upgrade to the 3.x
series.- In the PE console, click Classification.
- Expand the PE Infrastructure group, and select the Continuous Delivery for PE node group.
- Click Configuration.
- Under Class:cd4pe, in the Parameter field, select cd4pe_version. In the Value field, enter 3.x. Click Add parameter and commit your changes.
- To apply the new version, run Puppet on the node group. At the top of the page, click the Run selector and choose Puppet. On the Run Puppet page that opens, make any necessary adjustments and click Run Job.
docker-cd4pe
service managed by the
module.