Jira (PUP-11206) Exec modules with powershell as a provider do not display any logs from commands.

1 view
Skip to first unread message

Maciej Sikora (Jira)

unread,
Aug 13, 2021, 8:25:01 AM8/13/21
to puppe...@googlegroups.com
Maciej Sikora created an issue
 
Puppet / Bug PUP-11206
Exec modules with powershell as a provider do not display any logs from commands.
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/08/13 5:24 AM
Environment:

Any Windows system

Priority: Major Major
Reporter: Maciej Sikora

Puppet Version: 7.9.0
Puppet Server Version: 7.9.0
OS Name/Version: Windows

  • When using exec module with powershell as a provider, puppet doesn't display any logs. It doesn't matter if --verbose, or --debug is provided as a flag with starting puppet script or if logoutput is set to true as a parameter of module.
  • Example of a command that doesn't displays anything "Get-Content $path_to_an_existing_file"

Desired Behavior: The module displays everything that a command executed from a powershell would execute.

Actual Behavior: Puppet doesn't displays anything other than "executed successfully"

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages