summaryrefslogtreecommitdiff
path: root/lib/chef/platform
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/platform')
-rw-r--r--lib/chef/platform/service_helpers.rb16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/chef/platform/service_helpers.rb b/lib/chef/platform/service_helpers.rb
index 456e679e03..627fd8d694 100644
--- a/lib/chef/platform/service_helpers.rb
+++ b/lib/chef/platform/service_helpers.rb
@@ -18,11 +18,13 @@
require_relative "../chef_class"
require "chef-utils" unless defined?(ChefUtils::CANARY)
+require "chef/mixin/chef_utils_wiring" unless defined?(Chef::Mixin::ChefUtilsWiring)
class Chef
class Platform
module ServiceHelpers
include ChefUtils::DSL::Service
+ include Chef::Mixin::ChefUtilsWiring
def service_resource_providers
providers = []
@@ -49,20 +51,6 @@ class Chef
configs
end
- private
-
- def __config
- Chef::Config
- end
-
- def __log
- Chef::Log
- end
-
- def __transport_connection
- Chef.run_context&.transport_connection
- end
-
extend self
end
end