kitchen-gogetkitchen 0.2.2 → 0.2.3

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
- SHA1:
3
- metadata.gz: f109be7ef6c2292a7d6f1cd040c0cc7f707f5f1d
4
- data.tar.gz: 90e30dd3d96170a7e8349989bbe332dcc3d66424
2
+ SHA256:
3
+ metadata.gz: 646426f643fd8708d66cc3283bbc0ec9b31454b3c4306c53546fc6626a313352
4
+ data.tar.gz: 5094adb082abb7206350bd80d517d5b80b0aaac02e0ce3156f0100e6c34d2b13
5
5
  SHA512:
6
- metadata.gz: 07e1ea092734140bf2b44d6a98ffd45d5d78f22bd4fa953d2b410729d0225b859c7989411f670bb6fe27be576f31ae99e4ad27570da53d3cbd5ffe0d0b978ed1
7
- data.tar.gz: 1e7a6945e512d133d721eb343121158eea0fe2fb730f9e0129a0122ce335d262f3da62da0cf2dcab70405bea2d677822cb857ffaad6aaf17fef9d5f34be514e3
6
+ metadata.gz: e51b89999ef5c666ae1a8635feb85d7240f25db32c95bc964bfae8280af4f6ba4eadbe345dc150257486f493b84525dd25d3199e78265f277a34254fad1b178f
7
+ data.tar.gz: c8f9e9ca5a5338cfb33468f0cbcd30b2fb1a6930f8d48d5b9635907b236caa43ded238a175ec401f295f251bae5f0aea165e35d0f074cc43150ea5ece8e4c9ab
data/README.md CHANGED
@@ -1,16 +1,10 @@
1
- # <a name="title"></a> Kitchen::Gogetkitchen
1
+ # <a name="title"></a> Gogetkitchen
2
2
 
3
3
  A test kitchen driver for [Gogetit](https://github.com/itisnotdone/gogetit).
4
+ Due to the [collision](https://github.com/test-kitchen/test-kitchen/blob/master/lib/kitchen/driver.rb#L38-L44) of namespace with Kitchen::Driver, it is named as Gogetkitchen not Gogetit.
4
5
 
5
6
  ## <a name="requirements"></a> Requirements
6
7
 
7
- **TODO:** document any software or library prerequisites that are required to
8
- use this driver. Implement the `#verify_dependencies` method in your Driver
9
- class to enforce these requirements in code, if possible.
10
-
11
- What are needed when using Gogetit library are needed as well
12
- Since this is devised to use Gogetit as a kitchen driver.
13
- Please refer following link before begin.
14
8
  https://github.com/itisnotdone/gogetit
15
9
 
16
10
  ## <a name="installation"></a> Installation and Setup
@@ -38,8 +38,9 @@ module Kitchen
38
38
  Gogetit.config[:consumer] = 'kitchen'
39
39
 
40
40
  def create(state)
41
+ options = { 'alias' => config[:template] } if config[:template]
41
42
  provider = choose_provider(config[:provider])
42
- result = provider.create(instance.name)
43
+ result = provider.create(instance.name, options)
43
44
  domain = Gogetit.maas.get_domain
44
45
  state[:hostname] = instance.name + '.' + domain
45
46
  state[:username] = result[:info][:default_user]
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for Gogetkitchen Kitchen driver
24
- GOGETKITCHEN_VERSION = "0.2.2"
24
+ GOGETKITCHEN_VERSION = "0.2.3"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-gogetkitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Draper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-31 00:00:00.000000000 Z
11
+ date: 2018-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.6.14
168
+ rubygems_version: 2.7.6
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: A kitchen driver based on Gogetit.