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 +5 -5
- data/README.md +2 -8
- data/lib/kitchen/driver/gogetkitchen.rb +2 -1
- data/lib/kitchen/driver/gogetkitchen_version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 646426f643fd8708d66cc3283bbc0ec9b31454b3c4306c53546fc6626a313352
|
4
|
+
data.tar.gz: 5094adb082abb7206350bd80d517d5b80b0aaac02e0ce3156f0100e6c34d2b13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e51b89999ef5c666ae1a8635feb85d7240f25db32c95bc964bfae8280af4f6ba4eadbe345dc150257486f493b84525dd25d3199e78265f277a34254fad1b178f
|
7
|
+
data.tar.gz: c8f9e9ca5a5338cfb33468f0cbcd30b2fb1a6930f8d48d5b9635907b236caa43ded238a175ec401f295f251bae5f0aea165e35d0f074cc43150ea5ece8e4c9ab
|
data/README.md
CHANGED
@@ -1,16 +1,10 @@
|
|
1
|
-
# <a name="title"></a>
|
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]
|
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.
|
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-
|
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
|
168
|
+
rubygems_version: 2.7.6
|
169
169
|
signing_key:
|
170
170
|
specification_version: 4
|
171
171
|
summary: A kitchen driver based on Gogetit.
|