Sha256: 6c5af70e000cd2006fa44a094f58a1a896981d25af629ad505e3f6c032562039

Contents?: true

Size: 938 Bytes

Versions: 1

Compression:

Stored size: 938 Bytes

Contents

= engineyard-metadata

Pulls metadata from EC2 and EngineYard so that your EngineYard Cloud instances know about each other.

== Purpose

To define an unchanging interface to certain metadata that is buried deep inside JSON config files and EC2 API calls.

== Quickstart

This only runs from EngineYard AppCloud instances (running on Amazon EC2).

  >> require 'engineyard-metadata'
  [...]
  >> EY::Metadata.database_host
  => "external_db_master.compute-1.amazonaws.com"
  >> EY::Metadata.database_password
  => "foobarfoo"
  >> EY::Metadata.app_servers
  => [ 'app_1.compute-1.amazonaws.com' , 'app_master.compute-1.amazonaws.com' ]
  >> EY::Metadata.db_servers
  => [ 'db_master.compute-1.amazonaws.com', 'db_slave_1.compute-1.amazonaws.com' ]
  [...and many more...]

== History

This is the second generation of http://rubygems.org/gems/ey_cloud_awareness.

== Copyright

Copyright (c) 2010 Seamus Abshere. See LICENSE for details.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engineyard-metadata-0.0.2 README.rdoc