capistrano-elobuff 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
data/elobuff_capistrano.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
12
12
|
gem.name = "capistrano-elobuff"
|
13
13
|
gem.require_paths = ["lib"]
|
14
|
-
gem.version = "0.2.
|
14
|
+
gem.version = "0.2.5"
|
15
15
|
|
16
16
|
gem.add_dependency "capistrano"
|
17
17
|
gem.add_dependency "fog"
|
@@ -74,7 +74,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
74
74
|
namespace :s do
|
75
75
|
ec2.servers.each do |s|
|
76
76
|
desc "Invoke Server: #{s.id}"
|
77
|
-
task s.
|
77
|
+
task s.id.to_sym do
|
78
|
+
server s.address.to_s, *s.roles
|
79
|
+
end
|
80
|
+
|
81
|
+
desc "Invoke Server: #{s.name}"
|
82
|
+
task s.name.to_sym do
|
78
83
|
server s.address.to_s, *s.roles
|
79
84
|
end
|
80
85
|
end
|