kitchen-dokken 2.2.0 → 2.2.1

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
  SHA1:
3
- metadata.gz: d82d62b99b5e5b0b3a7473ea621641c57d3e85d1
4
- data.tar.gz: f1ee267ee61e13c37662731f2e3b6a6a7912986e
3
+ metadata.gz: f99765024f84e7ed1247430ee079552dfe854aaf
4
+ data.tar.gz: a46f76f7279a9c1e338ad618872bc2f84a2e120c
5
5
  SHA512:
6
- metadata.gz: ff69a7549fe0659fd10710c84e2e1f74a32ea0f7f940b7292a9add78a449fc8157af8e3686508fb2a591cd78e989383dcdab115cda163d3498dd1f74646a1fd0
7
- data.tar.gz: 4e0939f5ef9e8b8a1dd4a5f8f9854271a8ec81bd441f012fbe63771f7236f9f86e643631b0a1d43b97948e7ec2ac204755738ead59224ac8e431bfe25109485d
6
+ metadata.gz: c7286b5e1d1f24cbc0e496885d425f3a72008784f212580626ce9b36c701dd943109eab6c6677535955aaa6482c50218caab785cfdfe242f12a9f429c2d75d91
7
+ data.tar.gz: c6a1aba29911833f2d3e39d2c3da8ea98137bed40b9667c734fbb7ef32513e5ed8bde93ab9ea0f4523c80cf40a730b3938c5cec55100def8757521428af2f1ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Dokken Changelog
2
2
 
3
+ # 2.2.1
4
+ - Putting chef-client container in dokken network
5
+ - casting aliases to Array
6
+
3
7
  # 2.2.0
4
8
  - Initial support for clusters / inter-suite name resolution
5
9
  - Dokken now creates a user-defined network named "dokken" and
@@ -285,7 +285,7 @@ module Kitchen
285
285
  'NetworkingConfig' => {
286
286
  'EndpointsConfig' => {
287
287
  self[:network_mode] => {
288
- 'Aliases' => self[:hostname],
288
+ 'Aliases' => Array(self[:hostname]),
289
289
  },
290
290
  },
291
291
  },
@@ -315,7 +315,16 @@ module Kitchen
315
315
  'name' => chef_container_name,
316
316
  'Cmd' => 'true',
317
317
  'Image' => "#{repo(chef_image)}:#{tag(chef_image)}",
318
- 'NetworkMode' => config[:network_mode]
318
+ 'HostConfig' => {
319
+ 'NetworkMode' => config[:network_mode],
320
+ },
321
+ 'NetworkingConfig' => {
322
+ 'EndpointsConfig' => {
323
+ self[:network_mode] => {
324
+ 'Aliases' => Array(config[:hostname]),
325
+ },
326
+ },
327
+ }
319
328
  )
320
329
  state[:chef_container] = chef_container.json
321
330
  rescue
@@ -19,6 +19,6 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Dokken Kitchen driver
22
- DOKKEN_VERSION = '2.2.0'.freeze
22
+ DOKKEN_VERSION = '2.2.1'.freeze
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-dokken
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean OMeara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-15 00:00:00.000000000 Z
11
+ date: 2017-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen