awx 0.6.7 → 0.6.8
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 +1 -8
- 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: 8d63dfca777da31742b37438fadf3f0509242778
|
4
|
+
data.tar.gz: 055e37ab8992197e991510cdd6fa2ed5d70fc935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa01ec9ffa346f05363cf32d456b993bb3d24115e61f5c742aed3ae640030b6c408d9e1f1eeda55507a2cad481473091245d21fd41849c9887a5a31350dcea24
|
7
|
+
data.tar.gz: 35812f1698392104fb8fc6a2c677ae3063c39f97e4a31df30eb80d375ae43e2d734fa2302b48a5c100d2b41e84135d43a4697e90693a735cba63738f5ce1b326
|
data/lib/aws/aws_profile.rb
CHANGED
@@ -87,14 +87,7 @@ module App
|
|
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
89
|
# Returns 'yes' if running on EC2 instance, 'no' if not.
|
90
|
-
return if `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check
|
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
|
-
|
90
|
+
return if `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check`.to_s.gsub("\n", '') =~ /yes/i
|
98
91
|
errors << "aws-cli error. Cannot find file: #{Blufin::Terminal::format_invalid(FILE_AWS_CREDENTIALS)}"
|
99
92
|
end
|
100
93
|
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
AWX_VERSION = '0.6.
|
1
|
+
AWX_VERSION = '0.6.8'
|