mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
powershell resource: Add support line for Unix (#2952)
This allows the `powershell` resource to work on Linux/Unix/OSX Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
c82424b1cc
commit
096481363d
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ module Inspec::Resources
|
|||
class PowershellScript < Cmd
|
||||
name 'powershell'
|
||||
supports platform: 'windows'
|
||||
supports platform: 'unix'
|
||||
desc 'Use the powershell InSpec audit resource to test a Windows PowerShell script on the Microsoft Windows platform.'
|
||||
example "
|
||||
script = <<-EOH
|
||||
|
|
Loading…
Reference in a new issue