diff options
Diffstat (limited to 'lib/chef/platform/query_helpers.rb')
-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 bd0703d72a..efee17e6b2 100644 --- a/lib/chef/platform/query_helpers.rb +++ b/lib/chef/platform/query_helpers.rb @@ -58,8 +58,8 @@ class Chef end def dsc_refresh_mode_disabled?(node) - require_relative "../powershell" - exec = Chef::PowerShell.new("Get-DscLocalConfigurationManager") + require "chef-powershell" + exec = ChefPowerShell::PowerShell.new("Get-DscLocalConfigurationManager") exec.error! exec.result["RefreshMode"] == "Disabled" end |