Sha256: bba2bf6fd98210c62694f5f81edcd374bca6fc10f6b4977693761bb246d213e2

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

require 'singleton'
require 'eat'

module BrighterPlanet
  def self.deploy
    Deploy.instance
  end
  
  class Deploy
    include ::Singleton
    
    autoload :Server, 'brighter_planet_deploy/server'
    autoload :Cm1, 'brighter_planet_deploy/cm1'
    autoload :AuthoritativeDnsResolver, 'brighter_planet_deploy/authoritative_dns_resolver'
    
    # mixins
    autoload :ReadsFromLocalFilesystem, 'brighter_planet_deploy/reads_from_local_filesystem'
    autoload :ReadsFromPublicUrl, 'brighter_planet_deploy/reads_from_public_url'
    
    def servers
      Server
    end
    
    def cm1
      Cm1.instance
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brighter_planet_deploy-0.0.6 lib/brighter_planet_deploy.rb