kitchen-dokken 2.1.7 → 2.1.8

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: efbf96ca5b0ca0c3d40ebba12366344d6c57c14b
4
- data.tar.gz: 3d55d6ad8f53872a1705e1f33dc8db3b6033665e
3
+ metadata.gz: cd87d062c7f883b08cfcf39b5e34ff90a6812f34
4
+ data.tar.gz: 214d13b75716785c6c3f0d3ab3ffa290c1d95ecd
5
5
  SHA512:
6
- metadata.gz: 310c30253e415a0fe611b0735fcb02dc1512105674356a35e4e1934c3fc551743a127299c21d4e95e85d68cb546e7e5b77091819733c052f226ee1ca1dc76dc9
7
- data.tar.gz: 659ef467deec7be33f9b2ccf3873b63603c94bec873b332aec43a80d9f91a78b42f69466c7d3e02e660134085bd722774c269d35a2836ecfe2bf9ce527320135
6
+ metadata.gz: ec19a0c8dada3d6c913c140b9e586a277bf572216cfd61fcacbf3ac12abf217e2a2c33146ef3d3c9da17bc266e4e0a9d0aceec1edab9453a87ada28241dd423f
7
+ data.tar.gz: 9a591dced051bd240dc4fc4a87ff75f3f5edecd547e6eae807b6a6ab34fa64e645791333218ee3ab0dbe2f5e3aa189635ecc9a5d2f6f0cee9ec39446abc07027
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Dokken Changelog
2
2
 
3
+ # 2.1.8
4
+ - Using user specified image_prefix in instance_name
5
+
3
6
  # 2.1.7
4
7
  - bumping version. must have accidentally pushed a 2.1.6
5
8
 
@@ -19,6 +19,6 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Dokken Kitchen driver
22
- DOKKEN_VERSION = '2.1.7'.freeze
22
+ DOKKEN_VERSION = '2.1.8'.freeze
23
23
  end
24
24
  end
@@ -133,7 +133,11 @@ EOF
133
133
  end
134
134
 
135
135
  def instance_name
136
- prefix = (Digest::SHA2.hexdigest FileUtils.pwd)[0, 10]
136
+ prefix = if config[:image_prefix].nil?
137
+ (Digest::SHA2.hexdigest FileUtils.pwd)[0, 10]
138
+ else
139
+ config[:image_prefix]
140
+ end
137
141
  "#{prefix}-#{instance.name}"
138
142
  end
139
143
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-dokken
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean OMeara