obbistrano 1.1.83 → 1.1.84
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obbistrano_tasks.rb +3 -2
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -327,12 +327,13 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
327
327
|
task :ssh_key, :roles =>[:host] do
|
328
328
|
config_check
|
329
329
|
begin
|
330
|
-
|
330
|
+
key = capture "cat .ssh/id_rsa.pub"
|
331
331
|
rescue
|
332
332
|
run "mkdir -p .ssh/"
|
333
333
|
run "ssh-keygen -t rsa -f .ssh/id_rsa -N ''"
|
334
|
-
|
334
|
+
key = capture "cat .ssh/id_rsa.pub"
|
335
335
|
end
|
336
|
+
puts key.blue
|
336
337
|
end
|
337
338
|
|
338
339
|
desc "Creates a MySQL user and database"
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.84"
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
7
7
|
s.date = Time.now
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|