kitchen-driver-sakuracloud 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 7440329492e8b816e0fe14030e49a7e509377c28
4
- data.tar.gz: c560c6f244a0c649da679682dc71f9dba9e58f30
3
+ metadata.gz: c47a26116899448b065a6921b2544ffc3073b658
4
+ data.tar.gz: 47be6ba762ed41bb9bc609eea95636399605b2cd
5
5
  SHA512:
6
- metadata.gz: 55101b8987d6d0c3d2e5d8182bc783d6430f897982966af113dbd5391b78befa01f477ba71a9180792a9381b6e1dafd89a320fb1175710541aa59cca98d5e106
7
- data.tar.gz: fa68b6660583965ae1575661c68fdcc32e73e0462744729e6c56d164f325244968ec8f1764bdb42d225ce2b5ddbbdd876c20f284f0e76c99fcf3afc3e03176f7
6
+ metadata.gz: f4191eed4ee4ce69ec37eab7d264600bff41ee8d1af88d27492a20bbe6599a8428053d0b9c3831d5c86d1c3958534fccc123e9dca4cb9fe926d8fe1819c747b0
7
+ data.tar.gz: 7e5c2fc71627c17fa087f74eca7ff82c6295fdf9c344b325ca43dad791d1d480851f0aba6dbdc02d1bb0eb6f08aa03123938fed4d4fc33d19c7694102d810f1c
data/README.md CHANGED
@@ -12,6 +12,7 @@ driver:
12
12
  serverplan: 1001
13
13
  diskplan: 4
14
14
  size_mb: 20480
15
+ api_zone: tk1a
15
16
 
16
17
  transport:
17
18
  username: root
@@ -17,6 +17,7 @@ module Kitchen
17
17
  ENV['SAKURACLOUD_API_TOKEN_SECRET']
18
18
  end
19
19
 
20
+ default_config :api_zone, nil
20
21
  default_config :serverplan, '1001' # 1 Core 1 GB
21
22
  default_config :sourcearchive , "112700955889" #ubuntu14.04
22
23
  default_config :sshkey_id do
@@ -82,7 +83,8 @@ module Kitchen
82
83
  return @compute if @compute
83
84
  @compute = Fog::Compute::SakuraCloud.new(
84
85
  sakuracloud_api_token: config[:api_token],
85
- sakuracloud_api_token_secret: config[:api_token_secret]
86
+ sakuracloud_api_token_secret: config[:api_token_secret],
87
+ api_zone: config[:api_zone]
86
88
  )
87
89
  @compute
88
90
  end
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Driver
3
- SAKURACLOUD_VERSION = '0.1.0'
3
+ SAKURACLOUD_VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-driver-sakuracloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen