summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishekKr <abhikumar163@gmail.com>2016-10-06 22:28:16 +0530
committerAbhishekKr <abhikumar163@gmail.com>2016-10-06 22:28:16 +0530
commit23be92cd9eecd5117db967cdfc814165d52344f5 (patch)
tree070dc8011d46a77db263bfa0223f492df2f5eb88
parent08654df29d276ec9754f8fa2272855e1d6b73d5b (diff)
downloadchef-23be92cd9eecd5117db967cdfc814165d52344f5.tar.gz
DCO, comment for motive of :upstart_service_running
-rw-r--r--lib/chef/provider/service/upstart.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/service/upstart.rb b/lib/chef/provider/service/upstart.rb
index 03de1373ca..9c0d97d376 100644
--- a/lib/chef/provider/service/upstart.rb
+++ b/lib/chef/provider/service/upstart.rb
@@ -26,6 +26,7 @@ class Chef
class Service
class Upstart < Chef::Provider::Service::Simple
+ # 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 |node|