Module: Toquen

Defined in:
lib/toquen.rb,
lib/toquen/aws.rb,
lib/toquen/version.rb,
lib/toquen/bootstrapper.rb,
lib/toquen/local_writer.rb,
lib/toquen/details_table.rb

Defined Under Namespace

Modules: Bootstrapper, LocalWriter Classes: AWSProxy, Config, DetailsTable

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/toquen.rb', line 19

def self.config
  @config ||= Config.new
end

.servers_with_role(role) ⇒ Object



4
5
6
7
8
# File 'lib/toquen/aws.rb', line 4

def self.servers_with_role(role)
  Toquen::AWSProxy.new.server_details.select do |details|
    details[:roles].include? role
  end
end