Sha256: 0547c2f029df60c2cf361381e7509d595518210ca25e925f32b1740c08a10182

Contents?: true

Size: 771 Bytes

Versions: 1

Compression:

Stored size: 771 Bytes

Contents

= engineyard-metadata

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

== Quickstart

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

  >> require 'engineyard-metadata'
  [...]
  >> EY::Metadata.db_host
  => "external_db_master.compute-1.amazonaws.com"
  >> EY::Metadata.db_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' ]

== 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.1 README.rdoc