knife-ec2 1.0.31 → 1.0.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 191cb9ed42a8c340aea59e089721e340d97609de0069aa917aab657a3e28f110
4
- data.tar.gz: a43f3521bc5c5990c4e96eb63c65da53101c5b214e3279d8c3b5a0f79d8f51be
3
+ metadata.gz: 720ebe531f9c5d63eb98cf8d943d767628fbbbc75733f3cfda461be7c7cc1093
4
+ data.tar.gz: 42ea760bbc7d85c4684bbd57b9fc7e2d8578cc9bbfbc51cc7e54c22aa78c16b1
5
5
  SHA512:
6
- metadata.gz: de93760c5ed5ca050beda5a13a4c52dd797585c1d2bac5812802b6b8db84a0a4037a9055c5f834846e1220996551dc18f76e163a319f5fb476e508eb22b788b3
7
- data.tar.gz: a90c9495541b046fca2265e5750f56db14749a745550f670247ce9838a4a2c341fe2e413389713ee5907acc5fefc440127c07ae58bd14244e6274af23dfe0e26
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
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Ec2
3
- VERSION = "1.0.31".freeze
3
+ VERSION = "1.0.32".freeze
4
4
  MAJOR, MINOR, TINY = VERSION.split(".")
5
5
  end
6
6
  end
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.31
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-12 00:00:00.000000000 Z
11
+ date: 2020-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef