[BOLT-1128] Correctly accept JSON strings in PS CLI Created: 2019/02/13  Updated: 2019/02/13  Resolved: 2019/02/13

Status: Closed
Project: Puppet Task Runner
Component/s: bolt, powershell, Windows
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: William Hurt Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: bolt, powershell, windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance Criteria:

Bolt should accept normal, properly formatted JSON Strings as parameter input.

It should accept json to the --params parameter to specify all parameters, or it should accept json input into single parameters one at a time.

QA Risk Assessment: Needs Assessment

 Description   

Currently, when a json string is given to bolt as a parameter value in a PowerShell commandline command, the string needs a special escaped formatting for the json to be interpreted correctly by the time the arguments get into Ruby. 

This ticket will track the work done to the PowerShell module wrapper around the Bolt command to do that escaping for the use, so they don't have to do it on their own.



 Comments   
Comment by William Hurt [ 2019/02/13 ]

Duplicates BOLT-159

Generated at Sun Aug 18 00:53:16 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.