kitchen-zcloudjp 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/kitchen/driver/zcloudjp.rb +18 -0
- data/lib/kitchen/driver/zcloudjp_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTg0NDI3Y2E5NGNiYzQzNDNjZWYyYjZhMzljMzg4ODBjMjdkYmY5OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjExMDE0ZjdjN2RhMGVjODI3NTQxZDQ0ZjdkMWZjNjExZGQ4Y2FjNA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTk0YzQwMDZiMDlhOTA0M2Q3OTg1Mzc2NjFjNzhiY2UzZTg0Y2UyZWQ2NzEy
|
10
|
+
ZTI2ZmExMjJkNDAxOTY3OThiNjYyMTcxOTZmMmNhMjc3YzhkMTQ0OWYwZmNm
|
11
|
+
ZmQ5N2I1MmRhMDFmZDg5MjdlN2U2YzIzODdmYjk3NDJjZGVlMWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmUwOTRiMDBiYTIyNmE5NGZmZThlM2JiNGRiMWJlMmJiMjQxODJlM2EwOTk1
|
14
|
+
OGViZTE2ODYyNzAyNmJkNDZlNDdhOWFjMmFmOTczYWFmZTkwZjlhMGM0ZjFi
|
15
|
+
MjBjODExZmNkMGJmZDFmOTM4NmJlMTBhN2M0NzI0MzU1ZDEwYjY=
|
@@ -74,6 +74,24 @@ module Kitchen
|
|
74
74
|
state.delete(:hostname)
|
75
75
|
end
|
76
76
|
|
77
|
+
def setup(state)
|
78
|
+
ssh_args = build_ssh_args(state)
|
79
|
+
|
80
|
+
server = client.machine.show(:id => state[:server_id])
|
81
|
+
unless server.os == "SmartOS"
|
82
|
+
## Override ruby_binpath to default
|
83
|
+
::Kitchen::Busser.const_set(:DEFAULT_RUBY_BINPATH, '/opt/chef/embedded/bin')
|
84
|
+
else
|
85
|
+
## Override ruby_binpath
|
86
|
+
::Kitchen::Busser.const_set(:DEFAULT_RUBY_BINPATH, '/opt/local/bin')
|
87
|
+
end
|
88
|
+
|
89
|
+
if busser_setup_cmd
|
90
|
+
ssh(ssh_args, busser_setup_cmd)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
|
77
95
|
def converge(state)
|
78
96
|
server = client.machine.show(:id => state[:server_id])
|
79
97
|
ssh_args = build_ssh_args(state)
|