diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-02-28 12:24:14 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-02-28 14:02:26 -0800 |
commit | 2c55b1bf424522fe253e515f6237be130d58859d (patch) | |
tree | 2cda48e4dee7655f22022c1c5afc8ba9f01b4f98 /lib/chef/platform | |
parent | c08cf41a46b7b1f957c6073a73d0a1f2ccc4fce1 (diff) | |
download | chef-2c55b1bf424522fe253e515f6237be130d58859d.tar.gz |
Deprecate supports_powershell_execution_bypass? check
All the platforms we support have PowerShell 3.0+ now so this is always true.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/platform')
-rw-r--r-- | lib/chef/platform/query_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/platform/query_helpers.rb b/lib/chef/platform/query_helpers.rb index 1ddbe09bf4..169d762a45 100644 --- a/lib/chef/platform/query_helpers.rb +++ b/lib/chef/platform/query_helpers.rb @@ -48,9 +48,9 @@ class Chef end end + # @deprecated we don't support any release of Windows that isn't PS 3+ def supports_powershell_execution_bypass?(node) - node[:languages] && node[:languages][:powershell] && - node[:languages][:powershell][:version].to_i >= 3 + true end def supports_dsc?(node) |