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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDAyZTE0NjYxMjRhYjk1M2JhNjQ0NmIzOTkzY2ZlY2UzNmVjZDYyMQ==
4
+ ZTg0NDI3Y2E5NGNiYzQzNDNjZWYyYjZhMzljMzg4ODBjMjdkYmY5OA==
5
5
  data.tar.gz: !binary |-
6
- NTQ2N2QxYzAyMzAzYzViNjllMDgyZWRmZTVmYmY5ODUyODYxODBjYg==
6
+ ZjExMDE0ZjdjN2RhMGVjODI3NTQxZDQ0ZjdkMWZjNjExZGQ4Y2FjNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NzFhNDE1ZDM4MmZlNTNmMWFmNTI2NWUwNzE2MjUxODg2M2E2MGI0ZTUwNGNl
10
- YWUyOGRmZGZjYWQ4ZTg1NzE5MTViZjJhMTZmMTk3MGYyZDc3MDI3Yjg1MThl
11
- ODcyYjJkODRhOTUwMjJlYzc2MTRkNmMwNDMyNTE1YjUzNjZmNjg=
9
+ OTk0YzQwMDZiMDlhOTA0M2Q3OTg1Mzc2NjFjNzhiY2UzZTg0Y2UyZWQ2NzEy
10
+ ZTI2ZmExMjJkNDAxOTY3OThiNjYyMTcxOTZmMmNhMjc3YzhkMTQ0OWYwZmNm
11
+ ZmQ5N2I1MmRhMDFmZDg5MjdlN2U2YzIzODdmYjk3NDJjZGVlMWQ=
12
12
  data.tar.gz: !binary |-
13
- Y2Q4MDRhMDkyNDdkZTY4YWNlZGU1ODMzYzU4NDUzNTUwOGVmMGUxZjA4N2Zk
14
- ZGUxYTNmYTAyNTY3N2FiZjk1NWIyNTdhYjQxMjJjZGUwMzQzY2E2NzU3ZGQx
15
- NGVjN2M2ZjA5YjU5ZmM1MTA5NTBiNmM5M2M2ODUzMTRlNjdmZTA=
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)
@@ -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.1.4"
22
+ ZCLOUDJP_VERSION = "0.1.5"
23
23
  end
24
24
  end
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly