summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-02-12 17:14:04 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-12 17:14:04 -0800
commite7d29cbb134058b079e300703ea5ecac6b2e5170 (patch)
tree196976df1f8fe861fdff9bd12a3c37cd81b5abe0
parent01531f0d868af7cd5377f9c88429bcb427273b11 (diff)
downloadchef-e7d29cbb134058b079e300703ea5ecac6b2e5170.tar.gz
Don't make upstart service to service on any debian platform familiesnon_default_upstart
None of these include upstart at this point Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/provider/service/upstart.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/provider/service/upstart.rb b/lib/chef/provider/service/upstart.rb
index 2b9e304160..181aa82fe7 100644
--- a/lib/chef/provider/service/upstart.rb
+++ b/lib/chef/provider/service/upstart.rb
@@ -28,10 +28,6 @@ class Chef
# to maintain a local state of service across restart's internal calls
attr_accessor :upstart_service_running
- provides :service, platform_family: "debian", override: true do
- upstart?
- end
-
UPSTART_STATE_FORMAT = %r{\S+ \(?(start|stop)?\)? ?[/ ](\w+)}.freeze
# Returns true if the configs for the service name has upstart variable