summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-05-29 13:30:33 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-05-29 13:30:33 -0700
commita871f16c6ec7413558dbadf7870b7bb065c36c9a (patch)
tree02fbabb9f381964da119ccfe410e616316a034ef /lib
parenta123c315307f5210629d63e20cd80906620a072e (diff)
downloadchef-lcg/powershell_out.tar.gz
change executionpolicy to unrestrictedlcg/powershell_out
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/mixin/powershell_out.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/powershell_out.rb b/lib/chef/mixin/powershell_out.rb
index a81905407c..e4f29c07c4 100644
--- a/lib/chef/mixin/powershell_out.rb
+++ b/lib/chef/mixin/powershell_out.rb
@@ -85,7 +85,7 @@ class Chef
"-NoProfile",
# always set the ExecutionPolicy flag
# see http://technet.microsoft.com/en-us/library/ee176961.aspx
- "-ExecutionPolicy RemoteSigned",
+ "-ExecutionPolicy Unrestricted",
# Powershell will hang if STDIN is redirected
# http://connect.microsoft.com/PowerShell/feedback/details/572313/powershell-exe-can-hang-if-stdin-is-redirected
"-InputFormat None"