Jira (BOLT-1467) bolt_shim::command should execute via powershell on Windows

7 views
Skip to first unread message

Kevin Reeuwijk (JIRA)

unread,
Jul 10, 2019, 5:22:03 PM7/10/19
to puppe...@googlegroups.com
Kevin Reeuwijk created an issue
 
Puppet Task Runner / Improvement BOLT-1467
bolt_shim::command should execute via powershell on Windows
Issue Type: Improvement Improvement
Assignee: Ethan Brown
Created: 2019/07/10 2:21 PM
Priority: Normal Normal
Reporter: Kevin Reeuwijk

As a Bolt user, I want my command for Windows nodes to work in all scenarios, regardless of the chosen transport. Today there is in inconsistency between the WinRM transport and the PCP transport when using 'bolt command run'

Under the WinRM transport the given command is executed via Powershell

Under the PCP transport the given command is executed via the bolt_shim::command Task, which ends up running under cmd.exe and not Powershell

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Ethan Brown (JIRA)

unread,
Jul 10, 2019, 5:58:02 PM7/10/19
to puppe...@googlegroups.com

Ethan Brown (JIRA)

unread,
Jul 10, 2019, 5:58:03 PM7/10/19
to puppe...@googlegroups.com

Kevin Reeuwijk (JIRA)

unread,
Jul 11, 2019, 4:44:03 AM7/11/19
to puppe...@googlegroups.com
Kevin Reeuwijk commented on Improvement BOLT-1467
 
Re: bolt_shim::command should execute via powershell on Windows

If this gets resolved, the work should be shared with the puppetlabs/exec module so that we can finally get this module to natively support Powershell as well.

Yasmin Rajabi (JIRA)

unread,
Aug 27, 2019, 2:42:02 PM8/27/19
to puppe...@googlegroups.com

Branan Riley do you think this is going to be the same issue with native pe plans? cc Ethan Brown

Yasmin Rajabi (JIRA)

unread,
Aug 27, 2019, 2:43:03 PM8/27/19
to puppe...@googlegroups.com
Yasmin Rajabi updated an issue
 
Change By: Yasmin Rajabi
Labels: closed-github-move eyu windows

Branan Riley (JIRA)

unread,
Sep 23, 2019, 2:23:03 PM9/23/19
to puppe...@googlegroups.com
Branan Riley commented on Improvement BOLT-1467
 
Re: bolt_shim::command should execute via powershell on Windows

We've made sure the pxp-agent implementation of run_command uses powershell under the hood, so it won't be an issue for plans run through the console. Bolt itself will still rely on bolt-shim for the PCP transport, and depending on how we feel about that mixed-centralized use case moving forward we may or may not want to either a) make Bolt use Orchestrator's native functionality (there are RBAC and permissions concerns here) or b) fix bolt-shim as this ticket describes

Reply all
Reply to author
Forward
0 new messages