kitchen-zcloudjp 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +6 -0
- data/lib/kitchen/driver/zcloudjp.rb +8 -2
- data/lib/kitchen/driver/zcloudjp_version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
N2E0MjFjNDM4NjNkNmQ5OTc0Mjg0ZWMzMDlmNDI0NjgyMDAwNWY0YQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDIzYjAwYjg3YmJiYmRhYWExM2FiMGI1ODY3MjM2MGI1ZjY1YTY5NQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWU3MTU4N2YwNDhlYjA1NjVlM2ZjNDMxOGVlOTJkNmE2NmRjZWM3MGFkYjhh
|
|
10
|
+
MmIzMzM0ODkyMWYzNDcxYmZkNTA0NTRlNmM3MTg5YjQ1MjI2MTg1ODg4N2Zh
|
|
11
|
+
MDdmMWZjM2Y0ODgzYTQxMWJmZjFhN2FjMWU4MWUwYjUxN2UwMmY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
M2UwZDllNzE3YTk1MWY2OGM2ZTU1MTZmZGZhNTZmMmQ2NWRkMTkxNWUzYTQy
|
|
14
|
+
NGU4MDY2MDU3ZTI4Nzg5NzY2MzQ4OTJiYzM3NzU4NmI0NTA3OTA4OTkwMjA5
|
|
15
|
+
MmJhNzFlZTI2MTk4YjhkZTY2ZjhiYTEyNzE2Njc0ZjJhOWNhYTk=
|
data/README.md
CHANGED
|
@@ -57,6 +57,12 @@ Metadata are created at provisioning and updated at converging.
|
|
|
57
57
|
|
|
58
58
|
The default is empty hash.
|
|
59
59
|
|
|
60
|
+
### platforms/name/driver_config/with_gcc
|
|
61
|
+
|
|
62
|
+
install_chef_for_smartos with `gcc, gmake, auto-conf`. Use with require gems which need native extention in cookbooks.
|
|
63
|
+
|
|
64
|
+
The default is `false`.
|
|
65
|
+
|
|
60
66
|
|
|
61
67
|
### platforms/name/driver_config/require_chef_omnibus
|
|
62
68
|
|
|
@@ -29,6 +29,7 @@ module Kitchen
|
|
|
29
29
|
class Zcloudjp < Kitchen::Driver::SSHBase
|
|
30
30
|
default_config :dataset, 'sdc:sdc:base64:13.1.0' # base64 image
|
|
31
31
|
default_config :package, 'Small_1GB'
|
|
32
|
+
default_config :with_gcc, false
|
|
32
33
|
|
|
33
34
|
required_config :api_key
|
|
34
35
|
|
|
@@ -135,10 +136,15 @@ module Kitchen
|
|
|
135
136
|
end
|
|
136
137
|
|
|
137
138
|
def install_chef_for_smartos(ssh_args)
|
|
139
|
+
if config[:with_gcc]
|
|
140
|
+
install_pkgs = "gcc47 gcc47-runtime scmgit-base scmgit-docs gmake ruby193-base ruby193-yajl ruby193-nokogiri ruby193-readline pkg-config"
|
|
141
|
+
else
|
|
142
|
+
install_pkgs = "scmgit-base scmgit-docs ruby193-base ruby193-yajl ruby193-nokogiri ruby193-readline"
|
|
143
|
+
end
|
|
144
|
+
|
|
138
145
|
ssh(ssh_args, <<-INSTALL.gsub(/^ {10}/, ''))
|
|
139
146
|
if [ ! -f /opt/local/bin/chef-client ]; then
|
|
140
|
-
|
|
141
|
-
pkgin -y install ruby193-base ruby193-yajl ruby193-nokogiri ruby193-readline
|
|
147
|
+
pkgin -y install #{install_pkgs}
|
|
142
148
|
|
|
143
149
|
## for smf cookbook
|
|
144
150
|
pkgin -y install libxslt
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-zcloudjp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sawanoboly
|
|
@@ -148,4 +148,3 @@ signing_key:
|
|
|
148
148
|
specification_version: 4
|
|
149
149
|
summary: A Test Kitchen Driver for Zcloudjp
|
|
150
150
|
test_files: []
|
|
151
|
-
has_rdoc:
|