kitchen-zcloudjp 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CANGELOG.md +7 -0
- data/README.md +1 -1
- data/kitchen-zcloudjp.gemspec +1 -1
- data/lib/kitchen/driver/zcloudjp.rb +5 -4
- data/lib/kitchen/driver/zcloudjp_version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Nzk1NTNkODIzMGMyN2Y4OTdiMmUwNzNkMmM0ZTk2Y2NhZjZlMDc1Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzA4ZTc3YzI2NmYyODdmNDAwNGM2ZTg1YzM2OGU0ODE4MjZhOWMwNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzRmYzJmMjk4N2FkODY2Mzg3ZDE3YmFkN2NhNWNhOTg1MGFmMDYyOTEwMDk5
|
10
|
+
YjIzYjA1NmIxOWUyMWU2OTRiYzBlMDhlNGE4MjhjNDY5ZWZjNjNiMTFjYzU1
|
11
|
+
MWNmOGRjZGY3YjFiNjQ0YjE2NmQ2ZDQzY2ViZTExY2ZiYjZkNTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzY1NjE0MThhYzYyODcwMDM3ZTU3ZTQ2OGY3ZjdjNTk2ZjhkYWIxMDIxNjcx
|
14
|
+
M2RmYThlNTdhM2ZhNjUzOWVkYzhhMzUwOTcyMGUxZmVkZjlkMzE3YmU0NGQ4
|
15
|
+
MmE5M2E1NjY5ODc4NTZjZGIzZmVhMWY3ZDYzNzlhMzg1YjRhZmY=
|
data/CANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog for kitchen-zcloudjp
|
2
2
|
|
3
|
+
## 0.5.0
|
4
|
+
|
5
|
+
- update gem test-kitchen to ~> 1.2.0
|
6
|
+
- modify converge method for 1.2
|
7
|
+
- update defalt dataset to sdc:sdc:base64:13.4.2
|
8
|
+
- feature: use specific version of ohai or chef by config
|
9
|
+
|
3
10
|
## 0.4.0
|
4
11
|
|
5
12
|
- update gem test-kitchen to ~> 1.1.0
|
data/README.md
CHANGED
@@ -193,7 +193,7 @@ CentOS Large 8 CentOS 6.4 sdc:sdc:centos-6:2.4.1 Large_8GB
|
|
193
193
|
|
194
194
|
## <a name="authors"></a> Authors
|
195
195
|
|
196
|
-
Created and maintained by [Yukihiko
|
196
|
+
Created and maintained by [Sawanobori Yukihiko][author] (<sawanoboriyu@higanworks.com>)
|
197
197
|
|
198
198
|
## <a name="license"></a> License
|
199
199
|
|
data/kitchen-zcloudjp.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_dependency 'test-kitchen', '~> 1.
|
21
|
+
spec.add_dependency 'test-kitchen', '~> 1.2.0'
|
22
22
|
spec.add_dependency 'zcloudjp'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
@@ -28,7 +28,7 @@ module Kitchen
|
|
28
28
|
|
29
29
|
module Driver
|
30
30
|
class Zcloudjp < Kitchen::Driver::SSHBase
|
31
|
-
default_config :dataset, 'sdc:sdc:base64:13.
|
31
|
+
default_config :dataset, 'sdc:sdc:base64:13.4.2' # base64 image
|
32
32
|
default_config :package, 'Small_1GB'
|
33
33
|
default_config :with_gcc, true
|
34
34
|
|
@@ -79,7 +79,8 @@ module Kitchen
|
|
79
79
|
|
80
80
|
def converge(state)
|
81
81
|
provisioner = instance.provisioner
|
82
|
-
|
82
|
+
provisioner.create_sandbox
|
83
|
+
sandbox_dirs = Dir.glob("#{provisioner.sandbox_path}/*")
|
83
84
|
|
84
85
|
server = client.machine.show(:id => state[:server_id])
|
85
86
|
info("--> Updating metadata...")
|
@@ -147,8 +148,8 @@ module Kitchen
|
|
147
148
|
|
148
149
|
## install chef
|
149
150
|
gem update --system --no-ri --no-rdoc
|
150
|
-
gem install --no-ri --no-rdoc ohai
|
151
|
-
gem install --no-ri --no-rdoc chef
|
151
|
+
gem install --no-ri --no-rdoc ohai #{config[:ohai_version] ? '--version ' + %Q{'= #{config[:ohai_version]}'} : nil }
|
152
|
+
gem install --no-ri --no-rdoc chef #{config[:chef_version] ? '--version ' + %Q{'= #{config[:chef_version]}'} : nil }
|
152
153
|
gem install --no-ri --no-rdoc rb-readline
|
153
154
|
fi
|
154
155
|
INSTALL
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-zcloudjp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sawanoboly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: zcloudjp
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.2.
|
147
|
+
rubygems_version: 2.2.2
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: A Test Kitchen Driver for Zcloudjp
|