chef-provisioning-vsphere 0.6.0.dev.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/provisioning/vsphere_driver/version.rb +1 -1
- data/lib/kitchen/driver/vsphere.rb +0 -16
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a4045ecb221ec02220b2e3c0849e97cf1bb1c57
|
4
|
+
data.tar.gz: 23dde05998a38c711916deb319f5b98ae506daba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac9cedbb382f9d21793a70d29f41937fee9abf36fb080fa7a888203d65a1e0f693b05cae3c2006a62ec976dc8391fe0dc67c65a27d358d51c6237f2ec8d2ff6a
|
7
|
+
data.tar.gz: 4327d561d58097f0abeb4d254b9bdfefd024784f784860617317253cbf2fa091722e0637e4a85df5bfd46e95621db89ad12719f432dae72d02e80aacfa7dea93
|
@@ -39,19 +39,6 @@ module Kitchen
|
|
39
39
|
state[:hostname] = machine_spec.location['ipaddress']
|
40
40
|
machine_spec.save(action_handler)
|
41
41
|
end
|
42
|
-
|
43
|
-
node_dir = File.join(instance.verifier[:test_base_path], "nodes")
|
44
|
-
Dir.mkdir(node_dir) unless Dir.exist?(node_dir)
|
45
|
-
node_file = File.join(node_dir, "#{instance.suite.name}.json")
|
46
|
-
node = {
|
47
|
-
:id => instance.suite.name,
|
48
|
-
:automatic => {
|
49
|
-
:ipaddress => state[:hostname]
|
50
|
-
}
|
51
|
-
}
|
52
|
-
File.open(node_file, 'w') do |out|
|
53
|
-
out << JSON.pretty_generate(node)
|
54
|
-
end
|
55
42
|
end
|
56
43
|
|
57
44
|
def destroy(state)
|
@@ -66,9 +53,6 @@ module Kitchen
|
|
66
53
|
state.delete(:server_id)
|
67
54
|
state.delete(:hostname)
|
68
55
|
state.delete(:vsphere_name)
|
69
|
-
|
70
|
-
node_file = File.join(instance.verifier[:test_base_path], "nodes/#{instance.suite.name}.json")
|
71
|
-
File.delete(node_file) if File.exist?(node_file)
|
72
56
|
end
|
73
57
|
|
74
58
|
def with_provisioning_driver(state, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CenturyLink Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbvmomi
|
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- - "
|
134
|
+
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
136
|
+
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
139
|
rubygems_version: 2.4.4
|