summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-03-11 21:07:14 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-03-20 14:38:05 -0700
commite9d1561096a8c202b813d276432638fce9f34dc1 (patch)
treeed9c59cde4e33dedabac0f28ca0c816cbfcef600
parentea98194de5b2c3e11666868eb765ddac76757dcd (diff)
downloadchef-e9d1561096a8c202b813d276432638fce9f34dc1.tar.gz
Guard ps_credential import
-rw-r--r--lib/chef/util/powershell/ps_credential.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/powershell/ps_credential.rb b/lib/chef/util/powershell/ps_credential.rb
index 701b3ce685..01f8c27b6c 100644
--- a/lib/chef/util/powershell/ps_credential.rb
+++ b/lib/chef/util/powershell/ps_credential.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require 'chef/win32/crypto'
+require 'chef/win32/crypto' if Chef::Platform.windows?
class Chef::Util::Powershell
class PSCredential