capistrano-hivequeen 2.3.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
data/lib/capistrano/hivequeen.rb
CHANGED
@@ -82,6 +82,18 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
82
82
|
|
83
83
|
end
|
84
84
|
end
|
85
|
+
|
86
|
+
namespace :ssh do
|
87
|
+
HiveQueen.default_roles.each do |role_name|
|
88
|
+
task role_name do
|
89
|
+
cmd = "ssh -t -A -l #{user} #{roles[role_name.to_sym].servers.first}"
|
90
|
+
puts "Executing #{cmd}"
|
91
|
+
exec cmd
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
85
97
|
require 'capistrano/hivequeen/setup'
|
86
98
|
require 'capistrano/hivequeen/deploy'
|
87
99
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-hivequeen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|