Sha256: 30ca1bb90127d8f5cc7d1ddcb904d70edbfebdb2cb12a8303cfa5c7337428f9b
Contents?: true
Size: 547 Bytes
Versions: 4
Compression:
Stored size: 547 Bytes
Contents
require 'opsworks_rolling_deploy/version' require 'aws-sdk' require 'logger' # Module for rolling deploy management over opsworks module OpsworksRollingDeploy def self.set_auth_default(aws_id, aws_secret) Aws.config.update(credentials: Aws::Credentials.new(aws_id, aws_secret) ) end def self.set_verbose(verbose) Aws.config.update(logger: logger) if verbose end def self.logger @logger ||= begin Logger.new(STDOUT).tap do |l| $stdout.sync = true l.level = Logger::DEBUG end end end end
Version data entries
4 entries across 4 versions & 1 rubygems