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 +4 -4
- data/README.md +1 -0
- data/lib/kitchen/driver/sakuracloud.rb +3 -1
- data/lib/kitchen/driver/sakuracloud_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c47a26116899448b065a6921b2544ffc3073b658
|
4
|
+
data.tar.gz: 47be6ba762ed41bb9bc609eea95636399605b2cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4191eed4ee4ce69ec37eab7d264600bff41ee8d1af88d27492a20bbe6599a8428053d0b9c3831d5c86d1c3958534fccc123e9dca4cb9fe926d8fe1819c747b0
|
7
|
+
data.tar.gz: 7e5c2fc71627c17fa087f74eca7ff82c6295fdf9c344b325ca43dad791d1d480851f0aba6dbdc02d1bb0eb6f08aa03123938fed4d4fc33d19c7694102d810f1c
|
data/README.md
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|