class Object

Public Instance Methods

config() click to toggle source
# File lib/manic_baker/cli.rb, line 169
def config
  @config ||= ManicBaker::Config.from_file(config_path)
end
config_path() click to toggle source
# File lib/manic_baker/cli.rb, line 173
def config_path
  @config_path ||= Soloist::Spotlight.find!(".baker.yml")
end
joyent() click to toggle source
# File lib/manic_baker/cli.rb, line 162
def joyent
  @joyent ||= Fog::Compute.new(
    provider: "Joyent",
    joyent_url: config.joyent_uri
  )
end
remote() click to toggle source
# File lib/manic_baker/cli.rb, line 154
def remote
  @remote ||= Soloist::Remote.new(
    "root",
    dataset_servers.first.public_ip_address,
    config.private_key_path
  )
end
remote_config() click to toggle source
# File lib/manic_baker/cli.rb, line 150
def remote_config
  @remote_config ||= ManicBaker::RemoteConfig.new(config, remote)
end