Configure job hardware
The servers Continuous Delivery for Puppet Enterprise (PE) uses to run tests on your Puppet code are known as job hardware. You must configure job hardware before you can run tests or use pipelines. Any node with a Puppet agent installed on it can be job hardware.
Before you begin
Review the Job hardware
requirements sizing guide.
Important: Only the administrator of a workspace or a super user can
configure job hardware for a workspace.
- Install a Puppet agent on each node you want to use as job hardware. The PE documentation provides instructions for Installing agents.
-
Make sure your Continuous Delivery user role
in PE has permission to run the
cd4pe_jobs::run_cd4pe_job
task. - Install and configure Docker on each job hardware node. Docker is required for Docker-based pre-built jobs included in Continuous Delivery for PE. Instructions are available in the Docker documentation.
-
Assign nodes to the Docker hardware capability (which
Continuous Delivery for PE automatically creates for you) to tell Continuous Delivery for PE the nodes can be used as job hardware for Docker-based jobs.
- In the Continuous Delivery for PE web UI, click Hardware.
- Locate the Docker capability and click Edit.
- Select the PE instance that manages the nodes you've selected as job hardware, and then select the job hardware nodes. Selected nodes appear in the Hardware with this capability list.
- After selecting all the job hardware nodes, click Save.
- Optional: Create additional capabilities or add job hardware nodes to other capabilities, as explained in Add job hardware capabilities. If you're managing a lot of job hardware nodes, additional capabilities help distribute the testing load and ensure that each job runs on a hardware with the correct characteristics.
Results
Your job hardware is configured and ready for use.