Sha256: 8b45f8e3803bc80bad14fec72ec9445820ed79ba9c9d1b832dd33b1055c221e1
Contents?: true
Size: 589 Bytes
Versions: 29
Compression:
Stored size: 589 Bytes
Contents
module Heirloom class Catalog class Setup def initialize(args) @config = args[:config] @logger = @config.logger @region = @config.metadata_region end def create_catalog_domain unless verify.catalog_domain_exists? @logger.info "Creating catalog in #{@region}." sdb.create_domain "heirloom" end end private def sdb @sdb ||= AWS::SimpleDB.new :config => @config end def verify @verify ||= Catalog::Verify.new :config => @config end end end end
Version data entries
29 entries across 29 versions & 1 rubygems