Libraries
»
puppetlabs-cd4pe_jobs
(1.4.0)
»
Index (r)
»
Puppet Tasks
»
run_cd4pe_job
Puppet Task: run_cd4pe_job
Defined in:
tasks/run_cd4pe_job.json,
tasks/run_cd4pe_job.rb
Overview
Retrieves the Puppet control repo and job script for the specified job instance id.
Supports noop?
false
Parameters
job_instance_id
(String[1])
— Instance ID of job.
cd4pe_web_ui_endpoint
(String[1])
— web ui endpoint of CD4PE. Used to download control repo and job scripts to execute jobs.
cd4pe_token
(String[1])
— Token used to hit Tokened CD4PE endpoints.
cd4pe_job_owner
(String[1])
— Account (workspace) owner of the job to be run.
env_vars
(Optional[Array[String[1]]])
— Environment variables to be set on the agent running the job.
docker_image
(Optional[String[1]])
— If specified, the job will attempt to run inside the docker container.
docker_run_args
(Optional[Array[String[1]]])
— If specified, the arguements will be passed to docker if docker image is specified.
docker_pull_creds
(Optional[String[1]])
— Base64-encoded docker config.json to use when pulling the specified docker image.
base_64_ca_cert
(Optional[String[1]])
— Ca cert needed to communicate with CD4PE if ssl is enabled.