knife-ec2 1.0.8 → 1.0.9

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: 10d2009ca1b8decd1be69f2c0ba04eb3316010c6d99c0a6ed88a2018c0c5bd1b
4
- data.tar.gz: 610d660db9b532dd282d135e1885324ed6ec44a6c458d6d403af11479195c19a
3
+ metadata.gz: b3dc4e9ddac397fb8898196dffc621899eeb68c5fc2902f81ebf095f47b2e3c1
4
+ data.tar.gz: e71fb1bdb5a8b8846c8404d8b4a5b84df26ede74a516f086ff6fcbc542c9e01d
5
5
  SHA512:
6
- metadata.gz: e8adadfcba613c816fdf61badf3877f0e618f8db713400ff569b5bb9328af695d2821cdd42fcf18b2aaf395b271361d739983777353bb375211536e06a32e032
7
- data.tar.gz: 5ad31dc527d678d6cb71cc23326bb1003aeef22645a56b33751905e29c725e12d21d3750a2060ef287a237d62299ef1543f8e5aea71aee75505984f4823c9024
6
+ metadata.gz: 7d9ce828a23864e13a605c864ea90474d15dd47b61a4ea17c55246d423362286564a953d8e8ba0fe8e6d6b16ba638480cbe1aac16370247419080803af85e52a
7
+ data.tar.gz: 3ec7c9f801b45fb197dc777b47bd54f3f44efbba23adf21e24dbafeffba7536d771721ac86c777db73b5a37637937e2bc53fc4e8af701f337831b53f42d39531
@@ -949,7 +949,7 @@ class Chef
949
949
  if config[:ephemeral] && config[:ephemeral].length > 0
950
950
  ephemeral_blocks = []
951
951
  config[:ephemeral].each_with_index do |device_name, i|
952
- ephemeral_blocks << { virtual_name: "ephemeral#{i}", device_name: device_name }
952
+ ephemeral_blocks << { virtual_name: "ephemeral#{i}", device_name: device_name, ebs: { volume_size: ebs_size } }
953
953
  end
954
954
  attributes[:block_device_mappings] += ephemeral_blocks
955
955
  end
@@ -958,7 +958,6 @@ class Chef
958
958
  attributes[:disable_api_termination] = config_value(:disable_api_termination) if config_value(:spot_price).nil?
959
959
 
960
960
  attributes[:instance_initiated_shutdown_behavior] = config_value(:instance_initiated_shutdown_behavior)
961
- attributes[:chef_tag] = config_value(:tags)
962
961
  attributes
963
962
  end
964
963
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Ec2
3
- VERSION = "1.0.8".freeze
3
+ VERSION = "1.0.9".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.8
4
+ version: 1.0.9
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: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef