vmpooler-provider-vsphere 1.6.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vmpooler/providers/vsphere.rb +7 -9
- data/lib/vmpooler-provider-vsphere/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7facc5944e6f5a919f916566cd3399a762381f3b046dcd46739ceab2ef72b37
|
4
|
+
data.tar.gz: d8afc51cbd6aa0bfdc195d17403c4908f93733b9998d2ed4663c7243d8bc32b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee5e106fe90c9e26068af66a1456fda16ffd0932f1f132ff08927fb7efe5a3e0c0af62c212a2b5945605791cedb2d54b3130115ff1190740bb8c1d0547da650
|
7
|
+
data.tar.gz: 789357d7be7a20a7974c365c86564fc53721c67e4e86cfbc111f9c3c8f1e6f6b9c9650b8f974a747d50e92cb2338868fa4d78e787b32c1d7a0eab5e909c2329e
|
@@ -632,15 +632,13 @@ module Vmpooler
|
|
632
632
|
|
633
633
|
# This should supercede the open_socket method in the Pool Manager
|
634
634
|
def open_socket(host, domain = nil, timeout = 5, port = 22, &_block)
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
sock.close
|
643
|
-
end
|
635
|
+
target_host = host
|
636
|
+
target_host = "#{host}.#{domain}" if domain
|
637
|
+
sock = TCPSocket.new(target_host, port, connect_timeout: timeout)
|
638
|
+
begin
|
639
|
+
yield sock if block_given?
|
640
|
+
ensure
|
641
|
+
sock.close
|
644
642
|
end
|
645
643
|
end
|
646
644
|
|
metadata
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vmpooler-provider-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '
|
18
|
+
version: '3.1'
|
19
19
|
- - "<"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '4.0'
|
22
|
-
name:
|
22
|
+
name: rbvmomi2
|
23
23
|
prerelease: false
|
24
24
|
type: :runtime
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '3.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '4.0'
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
version: '2.4'
|
39
39
|
name: vmpooler
|
40
40
|
prerelease: false
|
41
|
-
type: :
|
41
|
+
type: :runtime
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
@@ -119,7 +119,7 @@ dependencies:
|
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: 1.
|
122
|
+
version: 1.28.2
|
123
123
|
name: rubocop
|
124
124
|
prerelease: false
|
125
125
|
type: :development
|
@@ -127,7 +127,7 @@ dependencies:
|
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 1.
|
130
|
+
version: 1.28.2
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
requirement: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
- !ruby/object:Gem::Version
|
205
205
|
version: '0'
|
206
206
|
requirements: []
|
207
|
-
rubygems_version: 3.
|
207
|
+
rubygems_version: 3.3.25
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: VMware provider for VMPooler
|