diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-02-28 12:14:56 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-02-28 12:15:42 -0800 |
commit | f9987b12ce8b988251b651d10ec2a479756c3e2e (patch) | |
tree | 30e6b7b4ff513c5c3b0bf17bb31c7885ee776407 /lib/chef/resource/powershell_script.rb | |
parent | 7b7d1556dfdcbec9b78334b89ec8fae35e709fc0 (diff) | |
download | chef-nano_support.tar.gz |
Remove all the code that checks for Windows Nanonano_support
Windows Nano isn't a thing anymore so we shouldn't spending compute time checking to see if we're on Windows Nano
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/powershell_script.rb')
-rw-r--r-- | lib/chef/resource/powershell_script.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb index 6cb1453376..154655f4d9 100644 --- a/lib/chef/resource/powershell_script.rb +++ b/lib/chef/resource/powershell_script.rb @@ -72,8 +72,6 @@ class Chef # Options that will be passed to Windows PowerShell command def default_flags - return "" if Chef::Platform.windows_nano_server? - # Execution policy 'Bypass' is preferable since it doesn't require # user input confirmation for files such as PowerShell modules # downloaded from the Internet. However, 'Bypass' is not supported |