Method: Chef::Provider::Service::Simple#shared_resource_requirements
- Defined in:
- lib/chef/provider/service/simple.rb
#shared_resource_requirements ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/chef/provider/service/simple.rb', line 43 def shared_resource_requirements super requirements.assert(:all_actions) do |a| a.assertion { @status_load_success } a.whyrun ["Service status not available. Assuming a prior action would have installed the service.", "Assuming status of not running."] end end |