Class: Tenderloin::Config::ProvisioningConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command.



104
105
106
# File 'lib/tenderloin/config.rb', line 104

def command
  @command
end

#rsyncObject

Returns the value of attribute rsync.



105
106
107
# File 'lib/tenderloin/config.rb', line 105

def rsync
  @rsync
end

#scriptObject

Returns the value of attribute script.



103
104
105
# File 'lib/tenderloin/config.rb', line 103

def script
  @script
end

Instance Method Details

#enabledObject



106
107
108
# File 'lib/tenderloin/config.rb', line 106

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