elastic_beans 0.11.0.alpha3 → 0.11.0.alpha4
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.
- checksums.yaml +4 -4
- data/exe/beans +10 -0
- data/lib/elastic_beans/command/exec.rb +1 -1
- data/lib/elastic_beans/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 451527599c0f9b9e8ae45814b4bfd0ead0790186
|
|
4
|
+
data.tar.gz: 96fb1b400aecb0916f3c3e1ac160f8109f483ce4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9eea2b765ad0026e8e28ae599c3c0376ec7e80acfe51d379bc2803720e70dd6d7470b235717a7d8666cd78be9935837117a279e666cf1d7de0c539d39ea4406
|
|
7
|
+
data.tar.gz: 747e509d8c8b9f5a384d690427432e0bd284579c2c5d132016f31a9ddf47baf044db1f44a419a7d4c227305e457653d76e590469576c968d95722585093eb731
|
data/exe/beans
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
+
Signal.trap("INT") do
|
|
4
|
+
puts "\nInterrupting beans -- if an operation was in progress, it will still be running."
|
|
5
|
+
exit 130
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
Signal.trap("TERM") do
|
|
9
|
+
puts "Terminating beans -- if an operation was in progress, it will still be running."
|
|
10
|
+
exit 143
|
|
11
|
+
end
|
|
12
|
+
|
|
3
13
|
require "elastic_beans/cli"
|
|
4
14
|
|
|
5
15
|
ElasticBeans::CLI.start(ARGV)
|
|
@@ -109,7 +109,7 @@ Requires AWS credentials to be set in the environment, i.e. AWS_ACCESS_KEY_ID an
|
|
|
109
109
|
rescue ElasticBeans::SSH::BastionAuthenticationError => e
|
|
110
110
|
raise BastionAuthenticationError.new(cause: e)
|
|
111
111
|
ensure
|
|
112
|
-
ui.info("
|
|
112
|
+
ui.info("Cleaning up, please do not interrupt!")
|
|
113
113
|
application.kill_command(freeze_command)
|
|
114
114
|
application.deregister_command(command)
|
|
115
115
|
end
|