Install Continuous Delivery for PE
After installing Bolt, specify your initial configuration setting and deploy Continuous Delivery for Puppet Enterprise (PE) for the first time.
Unlike version 4.x, Continuous Delivery for Puppet Enterprise (PE) 5.x uses Bolt for installation, configuration, and administration instead of PAM.
Before migrating, please make sure the system you plan to install Bolt on has internet access as well as SSH access to the system on which you intend to install Continuous Delivery for PE 5.x. In addition, because Bolt is installed on one or more systems and used to manage one centralized Continuous Delivery for PE installation, it may be a good idea to maintain the Bolt project in its own VCS repo.
- Install Bolt version 3.27.2 or later on a jumphost. This can be the intended Continuous Delivery for PE 5.x host, or any other system.
Create the Continuous Delivery for PE
Bolt project and switch to that directory.
mkdir cd4pe-bolt-project cd cd4pe-bolt-project bolt project init cd4pe_bolt_project
Edit the bolt-project.yaml file and change the
modules: - name: puppetlabs/cd4peadm version_requirement: 5.y.z
If you have not done so, update the
module-installsection as described in Configuring Bolt to enable access to premium modules on the Puppet Forge.
cd4peadmmodule using the command:
bolt module install.
Create an inventory.yaml
file with the connection information for the host on which
Continuous Delivery for PE 5.x is to be installed. For
--- groups: - name: cd4pe-nodes config: transport: ssh ssh: host-key-check: false user: root targets: - cd4pev5.<yourcompany.com>If you are installing on a localhost, use the following
--- groups: - name: cd4pe-nodes config: transport: local local: bundled-ruby: false targets: - uri: localhost
Install Continuous Delivery for PE on the target host using:
bolt plan run cd4peadm::install.This plan gives you option to either do a new install or to migrate data from a 4.x instance.
- Select the new install option.