ey_cloud_awareness 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +6 -6
- data/VERSION +1 -1
- data/ey_cloud_awareness.gemspec +2 -2
- data/lib/tasks/capistrano_tasks.rb +4 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -39,15 +39,15 @@ That should be all.
|
|
39
39
|
|
40
40
|
== Running capistrano tasks on your instances
|
41
41
|
|
42
|
-
|
42
|
+
Commands like these will work:
|
43
43
|
|
44
44
|
cap my_production monit:status
|
45
|
+
cap my_production deploy:web:disable
|
46
|
+
cap my_production deploy:web:enable
|
47
|
+
cap my_production passenger:restart
|
48
|
+
cap my_production nginx:restart
|
45
49
|
|
46
|
-
|
47
|
-
|
48
|
-
cap my_staging nginx:restart
|
49
|
-
|
50
|
-
Your capistrano tasks will always have a fresh list of your environment's instances. Roles like <tt>:app</tt> and <tt>:db</tt> are set (so are <tt>:app_master</tt>, <tt>:db_master</tt>, and <tt>:utility</tt>, but you probably don't need those).
|
50
|
+
Every time you use them, a special <tt>eyc_setup</tt> task is run that gets a fresh list of your environment's instances and sets roles like <tt>:app</tt>, <tt>:web</tt>, and <tt>:db</tt>.
|
51
51
|
|
52
52
|
== SSH into your instances
|
53
53
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
data/ey_cloud_awareness.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ey_cloud_awareness}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Seamus Abshere"]
|
12
|
-
s.date = %q{2009-11-
|
12
|
+
s.date = %q{2009-11-17}
|
13
13
|
s.description = %q{Make your EngineYard cloud instances aware of each other.}
|
14
14
|
s.email = %q{seamus@abshere.net}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -27,7 +27,10 @@ task :eyc_setup, :roles => :app_master do
|
|
27
27
|
raise
|
28
28
|
end
|
29
29
|
role :db_master, eyc_proxy.db_master.dns_name
|
30
|
-
eyc_proxy.app.each
|
30
|
+
eyc_proxy.app.each do |i|
|
31
|
+
role :app, i.dns_name
|
32
|
+
role :web, i.dns_name # assuming that you've got nginx on all of your instances
|
33
|
+
end
|
31
34
|
eyc_proxy.db.each { |i| role :db, i.dns_name }
|
32
35
|
end
|
33
36
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_cloud_awareness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seamus Abshere
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-17 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|