From 9e398d9540c70e5a0bcaab554f3648055d97e8ba Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 19 Aug 2015 19:13:30 -0700 Subject: fix supports hash issues in service providers - redhat provider now allows the user to override :status - gentoo provider now allows the user to override :status and :restart - service providers now dup the status hash and mutate their private copy instead of mutating the new_resource --- lib/chef/resource/service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource') diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb index 1485a10eb1..6d1b81f9cb 100644 --- a/lib/chef/resource/service.rb +++ b/lib/chef/resource/service.rb @@ -45,7 +45,7 @@ class Chef @priority = nil @timeout = nil @run_levels = nil - @supports = { :restart => false, :reload => false, :status => false } + @supports = { :restart => nil, :reload => nil, :status => nil } end def service_name(arg=nil) -- cgit v1.2.1