knife-ec2 1.0.31 → 1.0.32
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/lib/chef/knife/helpers/ec2_base.rb +1 -3
- data/lib/knife-ec2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 720ebe531f9c5d63eb98cf8d943d767628fbbbc75733f3cfda461be7c7cc1093
|
|
4
|
+
data.tar.gz: 42ea760bbc7d85c4684bbd57b9fc7e2d8578cc9bbfbc51cc7e54c22aa78c16b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd203f42f76400d9d07358bde4351f35568c2a74716034ce11eeb565b3e338c6d3173e4d904c4eec1ec15e29b212e13138def1e0e695d64f719fa88c83f0384d
|
|
7
|
+
data.tar.gz: 20032468b55e145e1e35f5b42818bb0e2099f8a3f5a37383b5919994d205829a57e568515c33066bafed187c05a7e9faf295c6ec2a6c888815fc97fc79e2055c
|
|
@@ -253,7 +253,7 @@ class Chef
|
|
|
253
253
|
if profile && profile.key?("arn")
|
|
254
254
|
name = profile["arn"].split("/")[-1]
|
|
255
255
|
end
|
|
256
|
-
name
|
|
256
|
+
name || ""
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
def ini_parse(file)
|
|
@@ -325,10 +325,8 @@ class Chef
|
|
|
325
325
|
# [default]
|
|
326
326
|
# aws_access_key_id = somethingsomethingdarkside
|
|
327
327
|
# aws_secret_access_key = somethingsomethingdarkside
|
|
328
|
-
|
|
329
328
|
aws_creds = ini_parse(File.read(aws_cred_file_location))
|
|
330
329
|
profile = locate_config_value(:aws_profile)
|
|
331
|
-
profile = "profile #{profile}" if profile != "default"
|
|
332
330
|
Chef::Log.debug "Using AWS profile #{profile}"
|
|
333
331
|
entries = if aws_creds.values.first.key?("AWSAccessKeyId")
|
|
334
332
|
aws_creds.values.first
|
data/lib/knife-ec2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knife-ec2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.32
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chef Software, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-02-
|
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chef
|