summaryrefslogtreecommitdiff
path: root/lib/chef/util
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-05-10 18:00:03 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-05-10 18:00:03 -0700
commit6800edf1709df2a2de4aaa134e6b65879fdd61af (patch)
treefbb2953cf03d556b05cf1b4e830fa87d5393a3c1 /lib/chef/util
parent91ef348e8039ea181f785a714fa317d421ac439e (diff)
downloadchef-6800edf1709df2a2de4aaa134e6b65879fdd61af.tar.gz
Change some more require to require_relative
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/util')
-rw-r--r--lib/chef/util/powershell/ps_credential.rb2
-rw-r--r--lib/chef/util/windows/logon_session.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/util/powershell/ps_credential.rb b/lib/chef/util/powershell/ps_credential.rb
index 32810b98a6..25159e3486 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" if Chef::Platform.windows?
+require_relative "../../win32/crypto" if Chef::Platform.windows?
class Chef::Util::Powershell
class PSCredential
diff --git a/lib/chef/util/windows/logon_session.rb b/lib/chef/util/windows/logon_session.rb
index 4a589c3b2a..2e1f19b001 100644
--- a/lib/chef/util/windows/logon_session.rb
+++ b/lib/chef/util/windows/logon_session.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "chef/win32/api/security" if Chef::Platform.windows?
+require_relative "../../win32/api/security" if Chef::Platform.windows?
require_relative "../../mixin/wide_string"
class Chef