Class: Chef::Resource::OneFlowService
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Resource::OneFlowService
- Defined in:
- lib/chef/resource/one_flow_service.rb
Overview
Implementation of Resource class.
Instance Attribute Summary collapse
-
#equal ⇒ Object
Returns the value of attribute equal.
-
#exists ⇒ Object
Returns the value of attribute exists.
-
#in_running_state ⇒ Object
Returns the value of attribute in_running_state.
-
#mode_equal ⇒ Object
Returns the value of attribute mode_equal.
-
#template_equal ⇒ Object
Returns the value of attribute template_equal.
Instance Method Summary collapse
-
#initialize(*args) ⇒ OneFlowService
constructor
A new instance of OneFlowService.
Constructor Details
#initialize(*args) ⇒ OneFlowService
Returns a new instance of OneFlowService.
55 56 57 58 |
# File 'lib/chef/resource/one_flow_service.rb', line 55 def initialize(*args) super @driver = run_context.chef_provisioning.current_driver end |
Instance Attribute Details
#equal ⇒ Object
Returns the value of attribute equal.
45 46 47 |
# File 'lib/chef/resource/one_flow_service.rb', line 45 def equal @equal end |
#exists ⇒ Object
Returns the value of attribute exists.
45 46 47 |
# File 'lib/chef/resource/one_flow_service.rb', line 45 def exists @exists end |
#in_running_state ⇒ Object
Returns the value of attribute in_running_state.
45 46 47 |
# File 'lib/chef/resource/one_flow_service.rb', line 45 def in_running_state @in_running_state end |
#mode_equal ⇒ Object
Returns the value of attribute mode_equal.
45 46 47 |
# File 'lib/chef/resource/one_flow_service.rb', line 45 def mode_equal @mode_equal end |
#template_equal ⇒ Object
Returns the value of attribute template_equal.
45 46 47 |
# File 'lib/chef/resource/one_flow_service.rb', line 45 def template_equal @template_equal end |