Class: Chef::Resource::OneFlowService

Inherits:
LWRPBase
  • Object
show all
Defined in:
lib/chef/resource/one_flow_service.rb

Overview

Implementation of Resource class.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#equalObject

Returns the value of attribute equal.



45
46
47
# File 'lib/chef/resource/one_flow_service.rb', line 45

def equal
  @equal
end

#existsObject

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_stateObject

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_equalObject

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_equalObject

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