awx 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/aws_profile.rb +7 -1
- data/lib/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: b6816a3d0e3f04080bf5afc1a65f03d716971059
|
4
|
+
data.tar.gz: e06bb014fb924d2f1618c953b7e311c6d47a5c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31ffaa13a6c79dc3f8d76d85c70594f1d02f39bcf4f3735862ea0c21cb0baa3d599b2bab42363d68551d79bb68a681b9dd38606133cc615278e0a03149261ab5
|
7
|
+
data.tar.gz: f70d528a3d0f1e29c53fde0cadc832b4ec21ee097e0865f5445b61651e11e5d3f032a43192fda1d6ff336c0fe4a8cca1a50d21abd6f5b96e9ced3a2ddfa8717e
|
data/lib/aws/aws_profile.rb
CHANGED
@@ -86,9 +86,15 @@ module App
|
|
86
86
|
errors << "aws-cli error. Cannot find #{profile}: #{Blufin::Terminal::format_invalid('aws_access_key_id')} in: #{Blufin::Terminal::format_directory(FILE_AWS_CREDENTIALS)}" if @@credentials.aws_key.nil?
|
87
87
|
errors << "aws-cli error. Cannot find #{profile}: #{Blufin::Terminal::format_invalid('aws_secret_access_key')} in: #{Blufin::Terminal::format_directory(FILE_AWS_CREDENTIALS)}" if @@credentials.aws_secret.nil?
|
88
88
|
else
|
89
|
-
@@credentials = nil # Just in case :)
|
90
89
|
# Returns 'yes' if running on EC2 instance, 'no' if not.
|
91
90
|
return if `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check` == 'yes'
|
91
|
+
|
92
|
+
# TODO - REMOVE
|
93
|
+
puts "#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check"
|
94
|
+
puts `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check`
|
95
|
+
puts `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check` == 'yes'
|
96
|
+
puts `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check` == 'no'
|
97
|
+
|
92
98
|
errors << "aws-cli error. Cannot find file: #{Blufin::Terminal::format_invalid(FILE_AWS_CREDENTIALS)}"
|
93
99
|
end
|
94
100
|
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
AWX_VERSION = '0.6.
|
1
|
+
AWX_VERSION = '0.6.7'
|