bcome 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bcome/version.rb +1 -1
- data/lib/helpers/command_helper.rb +6 -2
- data/lib/helpers/instance_ssh.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd98d90373d60001ec4a21251573bc95c9a0bf87
|
4
|
+
data.tar.gz: 3ef7ba76ffc2efdd1b7825645343c1307d95f55d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54ac7e4ff18b8f8368311ec68c4eaa815414d3d581c67109d7e84315312d567010dd07d7eef54b37a7e39580f00eb5695d7639028c58f0a01559272ae8803aba
|
7
|
+
data.tar.gz: 56eaa6c9572bc6085b4ee2b857d1c35d8f650130a068650079247321f51a02704d42cf829cffdeefbdf591ad0e219b3753b5163552521b83a815fb1047d06ee6
|
data/lib/bcome/version.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
module ::Bcome::CommandHelper
|
2
2
|
|
3
3
|
def run_local(command, silent = false)
|
4
|
-
|
5
|
-
|
4
|
+
begin
|
5
|
+
puts "(local) > #{command}" if !silent && ::VERBOSE
|
6
|
+
system(command)
|
7
|
+
rescue Interrupt
|
8
|
+
puts "Exiting gracefully from interrupt".warning
|
9
|
+
end
|
6
10
|
end
|
7
11
|
alias :local :run_local
|
8
12
|
|
data/lib/helpers/instance_ssh.rb
CHANGED
@@ -67,7 +67,7 @@ module ::Bcome::InstanceSsh
|
|
67
67
|
def non_bootstrapped_ssh_command
|
68
68
|
command = is_jump_ssh? ? (
|
69
69
|
is_ssh_jump_host? ? (
|
70
|
-
"ssh -i #{bootstrap_settings[:key]} #{bootstrap_settings[:ssh_user]}@#{
|
70
|
+
"ssh -i #{bootstrap_settings[:key]} #{bootstrap_settings[:ssh_user]}@#{bastion_ip_address}"
|
71
71
|
) : (
|
72
72
|
"ssh -i #{bootstrap_settings[:key]} -t #{bootstrap_settings[:ssh_user]}@#{bastion_ip_address} ssh -t #{ip_address}"
|
73
73
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Roderick (Webzakimbo)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|