summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-09-25 19:04:28 -0700
committerJohn Keiser <john@johnkeiser.com>2015-09-28 17:34:55 -0700
commit68656820438b84d433ae9015b953790f67ddf0ec (patch)
tree1b493a5c2beb9ed8fdacc67668608cb9e5fd7716 /lib
parentfd01105a5214cf90eea59c09d4fce14f0abb586e (diff)
downloadchef-68656820438b84d433ae9015b953790f67ddf0ec.tar.gz
Add system providers to the list of world-stubbed stuff
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/platform/service_helpers.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/platform/service_helpers.rb b/lib/chef/platform/service_helpers.rb
index 1523747023..6b44478725 100644
--- a/lib/chef/platform/service_helpers.rb
+++ b/lib/chef/platform/service_helpers.rb
@@ -102,6 +102,11 @@ class Chef
configs
end
+ def reset
+ @service_resource_providers = nil
+ @systemctl_path = nil
+ end
+
private
def systemctl_path