Module: ClusterFuck

Defined in:
lib/cluster-fuck.rb,
lib/cluster-fuck/reader.rb,
lib/cluster-fuck/writer.rb,
lib/cluster-fuck/version.rb,
lib/cluster-fuck/s3_methods.rb,
lib/cluster-fuck/commands/edit.rb,
lib/cluster-fuck/commands/list.rb,
lib/cluster-fuck/configuration.rb,
lib/cluster-fuck/commands/create.rb,
lib/cluster-fuck/commands/override.rb,
lib/cluster-fuck/credential_grabber.rb,
lib/cluster-fuck/commands/amicus_env_argument_parser.rb

Defined Under Namespace

Modules: Commands, S3Methods Classes: Configuration, CredentialGrabber, Reader, Writer

Constant Summary collapse

CONFIG_BUCKET =
'amicus-config'
AMICUS_ENV =
if File.exists?("/mnt/configs/amicus_env.yml")
  YAML.load_file("/mnt/configs/amicus_env.yml")['amicus_env']
else
  ENV['AMICUS_ENV'] || 'development'
end
VERSION =
"0.1.4.3"

Class Method Summary collapse

Class Method Details

.amicus_envObject



22
23
24
# File 'lib/cluster-fuck.rb', line 22

def self.amicus_env
  AMICUS_ENV
end

.loggerObject



18
19
20
# File 'lib/cluster-fuck.rb', line 18

def self.logger
  @logger ||= Logger.new($stdout)
end

.logger=(logger) ⇒ Object



14
15
16
# File 'lib/cluster-fuck.rb', line 14

def self.logger=(logger)
  @logger = logger
end