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:
Jerry Aldrich 2018-04-12 14:57:56 -07:00 committed by Jared Quick
parent c82424b1cc
commit 096481363d

View file

@ -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