Skip to content

(MODULES-8749) Make job_name param required.#303

Merged
jpogran merged 1 commit intopuppetlabs:masterfrom
RandomNoun7:tickets/master/MODULES-8749-make-job_name-required
Mar 19, 2019
Merged

(MODULES-8749) Make job_name param required.#303
jpogran merged 1 commit intopuppetlabs:masterfrom
RandomNoun7:tickets/master/MODULES-8749-make-job_name-required

Conversation

@RandomNoun7
Copy link
Copy Markdown
Contributor

Prior to this change, even though the job_name param is defined as
required by the PowerShell script that powers the task, the json file
that describes the task defines that parameter to Bolt as Optional.

This causes the task to hang if the task is invoked with no job_name
parameter. This change updates the json so that Bolt understands the
param is required, and removes an unnecessary conditional check to
to ensure the paramter is present, as both platforms already ensure
it. The else block in that check also had code that should never run
in this task.

Prior to this change, even though the job_name param is defined as
required by the PowerShell script that powers the task, the json file
that describes the task defines that parameter to Bolt as Optional.

This causes the task to hang if the task is invoked with no job_name
parameter. This change updates the json so that Bolt understands the
param is required, and removes an unnecessary conditional check to
to ensure the paramter is present, as both platforms already ensure
it. The else block in that check also had code that should never run
in this task.
@jpogran jpogran merged commit a79b6a3 into puppetlabs:master Mar 19, 2019
@RandomNoun7 RandomNoun7 deleted the tickets/master/MODULES-8749-make-job_name-required branch March 19, 2019 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants