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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDI5Mzk1ZTRhN2QxNjg0YjA5M2I2ZWIwNDFlZmZjZjRjNGI3YTNlNg==
4
+ Nzk1NTNkODIzMGMyN2Y4OTdiMmUwNzNkMmM0ZTk2Y2NhZjZlMDc1Mw==
5
5
  data.tar.gz: !binary |-
6
- ZjI2NzUyY2M2MDFiMzZjYjFlZDMwZjlhNjZjN2I4YWQxNmUwZWFmMg==
6
+ MzA4ZTc3YzI2NmYyODdmNDAwNGM2ZTg1YzM2OGU0ODE4MjZhOWMwNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjljOWExNWI1YTcwNWZjZmM3Nzc2ZjkxYjRhYzMyOTBhMTIzMTE5OTFlM2Q2
10
- MzYwOGJhNzU5MjNlN2ZjOGM3NzE1MTNiNmMwYmZiMTY3ZjdmZmQwODQ4MjE3
11
- Y2MxODA0YzYyOTNhM2ZiNzdmYzg3OGEwNzJhYTFiMzQ1NmY1ZjM=
9
+ NzRmYzJmMjk4N2FkODY2Mzg3ZDE3YmFkN2NhNWNhOTg1MGFmMDYyOTEwMDk5
10
+ YjIzYjA1NmIxOWUyMWU2OTRiYzBlMDhlNGE4MjhjNDY5ZWZjNjNiMTFjYzU1
11
+ MWNmOGRjZGY3YjFiNjQ0YjE2NmQ2ZDQzY2ViZTExY2ZiYjZkNTY=
12
12
  data.tar.gz: !binary |-
13
- NmY1MjYyY2FkMGUxYWVhMjkyMTU5MmI4YmM0ODRiM2UzOWY5MDAxY2VhMTYy
14
- N2Y4YjM2NGEwNjVjYTA2OTY3MGQ4MDg2N2EyNjZkY2Q0ZmMyNjU2YWIyYjlh
15
- MWI3NzdiNmZmYTZhNmUyMzU3NzMxZTA4NmVjYzQ4NTMwOTBmZjA=
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 Sawanobori][author] (<sawanoboriyu@higanworks.com>)
196
+ Created and maintained by [Sawanobori Yukihiko][author] (<sawanoboriyu@higanworks.com>)
197
197
 
198
198
  ## <a name="license"></a> License
199
199
 
@@ -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.1.0'
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.1.0' # base64 image
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
- sandbox_dirs = Dir.glob("#{provisioner.create_sandbox}/*")
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
@@ -19,6 +19,6 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Zcloudjp Test Kitchen driver
22
- ZCLOUDJP_VERSION = "0.4.0"
22
+ ZCLOUDJP_VERSION = "0.5.0"
23
23
  end
24
24
  end
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.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-02-07 00:00:00.000000000 Z
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.1.0
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.1.0
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.0
147
+ rubygems_version: 2.2.2
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: A Test Kitchen Driver for Zcloudjp