Class: Chef::Resource::OneFlowTemplate

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

Overview

Implementation of Resource class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ OneFlowTemplate

Returns a new instance of OneFlowTemplate.



47
48
49
50
# File 'lib/chef/resource/one_flow_template.rb', line 47

def initialize(*args)
  super
  @driver = run_context.chef_provisioning.current_driver
end

Instance Attribute Details

#equalObject

Returns the value of attribute equal.



42
43
44
# File 'lib/chef/resource/one_flow_template.rb', line 42

def equal
  @equal
end

#existsObject

Returns the value of attribute exists.



42
43
44
# File 'lib/chef/resource/one_flow_template.rb', line 42

def exists
  @exists
end

#mode_equalObject

Returns the value of attribute mode_equal.



42
43
44
# File 'lib/chef/resource/one_flow_template.rb', line 42

def mode_equal
  @mode_equal
end

#template_equalObject

Returns the value of attribute template_equal.



42
43
44
# File 'lib/chef/resource/one_flow_template.rb', line 42

def template_equal
  @template_equal
end