[BOLT-102] Loading params from file on powershell triggers splat operator error Created: 2017/09/26 Updated: 2018/04/12 Resolved: 2018/04/04
|Project:||Puppet Task Runner|
|Component/s:||CLI, DOCS, Windows|
|Fix Version/s:||BOLT 0.18.2|
|Reporter:||Gareth Rushgrove||Assignee:||Michael Smith|
|Labels:||DOCS, docs-reviewed, resolved-issue-added|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Example commands should work on powershell
|Method Found:||Needs Assessment|
|Release Notes:||Not Needed|
|QA Risk Assessment:||Needs Assessment|
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.
|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:
Also moved this ticket from Known to Resolved issues in release notes.