kitchen-gogetkitchen 0.2.3 → 0.3.0

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: 646426f643fd8708d66cc3283bbc0ec9b31454b3c4306c53546fc6626a313352
4
- data.tar.gz: 5094adb082abb7206350bd80d517d5b80b0aaac02e0ce3156f0100e6c34d2b13
3
+ metadata.gz: 6f85ceefc301099b51bcfe09354ee1e6eea399e833ae22a12b870dd127cbef77
4
+ data.tar.gz: 8d95de03f82598e6210ac1a17030facc6142b756071671d130fa279d0f3d7828
5
5
  SHA512:
6
- metadata.gz: e51b89999ef5c666ae1a8635feb85d7240f25db32c95bc964bfae8280af4f6ba4eadbe345dc150257486f493b84525dd25d3199e78265f277a34254fad1b178f
7
- data.tar.gz: c8f9e9ca5a5338cfb33468f0cbcd30b2fb1a6930f8d48d5b9635907b236caa43ded238a175ec401f295f251bae5f0aea165e35d0f074cc43150ea5ece8e4c9ab
6
+ metadata.gz: d91f6330babffef2b82d0c18109d65199851754071e997257e83beb8111c9ad74d037c954e5d50dfcad462604b1f87d555c477be9f85c32278640b373a9577f5
7
+ data.tar.gz: a1eff4e2b9c43eb8dd7978890d44f9d7f4d1dc166d917fb7c7dcd215e3ce958aff63fe20bd19e16a9db350fe82ddec1e8e3dec89bd08375a86d75f0d18c8ecb5
data/README.md CHANGED
@@ -15,7 +15,7 @@ Please read the [Driver usage][driver_usage] page for more details.
15
15
 
16
16
  $ export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
17
17
 
18
- $ kitchen init -D kitchen-gogetkitchen -P chef_zero
18
+ $ gem install kitchen-gogetkitchen
19
19
 
20
20
  ```
21
21
  ## <a name="config"></a> Configuration
@@ -37,10 +37,14 @@ platforms:
37
37
  driver:
38
38
  provider: lxd
39
39
  template: default
40
+ options:
41
+ maas-on-lxc: true
40
42
  - name: kvm01
41
43
  driver:
42
44
  provider: libvirt
43
45
  template: default
46
+ options:
47
+ lxd-in-lxd: true
44
48
 
45
49
  suites:
46
50
  - name: default
@@ -39,6 +39,7 @@ module Kitchen
39
39
 
40
40
  def create(state)
41
41
  options = { 'alias' => config[:template] } if config[:template]
42
+ options.merge!(config[:options])
42
43
  provider = choose_provider(config[:provider])
43
44
  result = provider.create(instance.name, options)
44
45
  domain = Gogetit.maas.get_domain
@@ -54,6 +55,8 @@ module Kitchen
54
55
  end
55
56
 
56
57
  def destroy(state)
58
+ options = {}
59
+ options.merge!(config[:options])
57
60
  provider = choose_provider(config[:provider])
58
61
  provider.destroy(instance.name)
59
62
 
@@ -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.3"
24
+ GOGETKITCHEN_VERSION = "0.3.0"
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.3
4
+ version: 0.3.0
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-05-23 00:00:00.000000000 Z
11
+ date: 2018-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen