[BOLT-102] Loading params from file on powershell triggers splat operator error Created: 2017/09/26 Updated: 2018/04/12 Resolved: 2018/04/04 |
|
Status: | Resolved |
Project: | Puppet Task Runner |
Component/s: | CLI, DOCS, Windows |
Affects Version/s: | None |
Fix Version/s: | BOLT 0.18.2 |
Type: | Bug | Priority: | Normal |
Reporter: | Gareth Rushgrove | Assignee: | Michael Smith |
Resolution: | Fixed | Votes: | 0 |
Labels: | DOCS, docs-reviewed, resolved-issue-added | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Template: | customfield_10700 213265 | ||||||||
Acceptance Criteria: | Example commands should work on powershell |
||||||||
Sprint: | Bolt Kanban | ||||||||
Method Found: | Needs Assessment | ||||||||
Release Notes: | Not Needed | ||||||||
QA Risk Assessment: | Needs Assessment |
Description |
Based on the documentation you should be able to load params from a file, using the @ symbol. However on powershell the @ is reserved. This would instead need to be passed quoted as a string I think.
|
Comments |
Comment by Gareth Rushgrove [ 2017/09/26 ] |
Jean Bond related to our conversation just now. I don't think this is actually implemented yet, but it might cause issues on powershell. Jenny Mahmoudi worth noting with regards the CLI spec I think. |
Comment by Michael Smith [ 2018/01/22 ] |
I suggest we document that single quote is needed to use it under powershell and resolve this issue. |
Comment by Michael Smith [ 2018/03/12 ] |
Kate Lopresti this could be resolved with a minor addition to https://puppet.com/docs/bolt/0.x/bolt_options.html where we specify loading from file via the '@' symbol. |
Comment by Kate Lopresti [ 2018/04/02 ] |
Added "For Windows PowerShell, add single quotation marks to define the file..." and code example to related content in Specifying nodes section: http://docs-preview.webteam.puppet.com/docs/bolt/dev/bolt_options.html#ariaid-title2 Also moved this ticket from Known to Resolved issues in release notes.
|