Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
- A new provider called pwsh is created
- Only works on Windows
- Minimal acceptance tests
- Documentation not required
-
Windows
-
1
-
Windows 2018-12-19
-
Needs Assessment
Description
In order to support PowerShell core we need to add a new provider to the Puppet PowerShell module. This provider will be called pwsh, for example;
exec { 'do something':
|
command => 'Write-Host $PSVersionTable',
|
provider => pwsh,
|
require => File['testfile'],
|
}
|
Initially;
This provider will only execute the pwsh.exe command on Windows. Later work will add cross platform, searching for the binary and PowerShell manager support.
This issue will also add some acceptance tests to test basic functionality. Later work will copy the entire existing acceptance tests to the pwsh provider.
Attachments
Issue Links
- blocks
-
MODULES-8357 Add cross-platform support for pwsh in the PowerShell module
-
- Resolved
-
- relates to
-
MODULES-8307 powershell : SPIKE figure out options for supporting powershell and powershell core
-
- Resolved
-