engineyard-metadata 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +7 -2
- data/VERSION +1 -1
- data/engineyard-metadata.gemspec +1 -1
- data/lib/engineyard-metadata/chef_dna.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -2,20 +2,25 @@
|
|
2
2
|
|
3
3
|
Pulls metadata from EC2 and EngineYard so that your EngineYard Cloud instances know about each other.
|
4
4
|
|
5
|
+
== Purpose
|
6
|
+
|
7
|
+
To define an unchanging interface to certain metadata that is buried deep inside JSON config files and EC2 API calls.
|
8
|
+
|
5
9
|
== Quickstart
|
6
10
|
|
7
11
|
This only runs from EngineYard AppCloud instances (running on Amazon EC2).
|
8
12
|
|
9
13
|
>> require 'engineyard-metadata'
|
10
14
|
[...]
|
11
|
-
>> EY::Metadata.
|
15
|
+
>> EY::Metadata.database_host
|
12
16
|
=> "external_db_master.compute-1.amazonaws.com"
|
13
|
-
>> EY::Metadata.
|
17
|
+
>> EY::Metadata.database_password
|
14
18
|
=> "foobarfoo"
|
15
19
|
>> EY::Metadata.app_servers
|
16
20
|
=> [ 'app_1.compute-1.amazonaws.com' , 'app_master.compute-1.amazonaws.com' ]
|
17
21
|
>> EY::Metadata.db_servers
|
18
22
|
=> [ 'db_master.compute-1.amazonaws.com', 'db_slave_1.compute-1.amazonaws.com' ]
|
23
|
+
[...and many more...]
|
19
24
|
|
20
25
|
== History
|
21
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/engineyard-metadata.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Seamus Abshere
|