Class: Tenderloin::Config::ProvisioningConfig

Inherits:
Base
  • Object
show all
Defined in:
lib/tenderloin/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#[], #instance_variables_hash, #to_json

Instance Attribute Details

#commandObject

Returns the value of attribute command.



110
111
112
# File 'lib/tenderloin/config.rb', line 110

def command
  @command
end

#rsyncObject

Returns the value of attribute rsync.



111
112
113
# File 'lib/tenderloin/config.rb', line 111

def rsync
  @rsync
end

#scriptObject

Returns the value of attribute script.



109
110
111
# File 'lib/tenderloin/config.rb', line 109

def script
  @script
end

Instance Method Details

#enabledObject



112
113
114
# File 'lib/tenderloin/config.rb', line 112

def enabled
  script || command || !rsync.empty?
end