chef-provisioning-vsphere 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.travis.yml +1 -1
- data/CHANGELOG.md +12 -2
- data/README.md +65 -0
- data/lib/chef/provisioning/vsphere_driver/driver.rb +1 -1
- data/lib/chef/provisioning/vsphere_driver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 585d88ba43c9f510245efabf7d21140cddc4ca6d
|
4
|
+
data.tar.gz: 9e1b630c7295efd1de81d78f59145076d29e936f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0613dfed2829b0ec5fc77e2651e155dba8ce95ef9fd03068f78e89b6595d931d5f63d97bc549f080dbf68da303b9374681a8010f48689843cec74613d72c10bc
|
7
|
+
data.tar.gz: 8f7d54fe4bda54588697336bcd6f02cf8e34f3d70e189936db3c7d1269c189762d97ba7ca2a7f274fd1339fff55f31cf00d6babc61c4d375422dee290aa013ec
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,17 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [1.1.
|
4
|
-
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.
|
3
|
+
## [1.1.2](https://github.com/chef-partners/chef-provisioning-vsphere/tree/1.1.2) (2017-05-08)
|
4
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.1...1.1.2)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- corrected winrm port assignment so it does not always equal 5986 [\#19](https://github.com/chef-partners/chef-provisioning-vsphere/pull/19) ([tuccimon](https://github.com/tuccimon))
|
9
|
+
- Update README to cover multi-nodes in kitchen.yml [\#18](https://github.com/chef-partners/chef-provisioning-vsphere/pull/18) ([michaeltlombardi](https://github.com/michaeltlombardi))
|
10
|
+
- Revert "Wait for ipv4 enhancement" [\#16](https://github.com/chef-partners/chef-provisioning-vsphere/pull/16) ([jjasghar](https://github.com/jjasghar))
|
11
|
+
- Wait for ipv4 enhancement [\#14](https://github.com/chef-partners/chef-provisioning-vsphere/pull/14) ([jcalonsoh](https://github.com/jcalonsoh))
|
12
|
+
|
13
|
+
## [v1.1.1](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v1.1.1) (2017-04-20)
|
14
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.0...v1.1.1)
|
5
15
|
|
6
16
|
**Merged pull requests:**
|
7
17
|
|
data/README.md
CHANGED
@@ -273,6 +273,71 @@ driver:
|
|
273
273
|
- 8.8.4.4
|
274
274
|
```
|
275
275
|
|
276
|
+
You can also spin up multiple nodes, overwriting driver settings by platform or suite.
|
277
|
+
|
278
|
+
```yaml
|
279
|
+
driver:
|
280
|
+
name: vsphere
|
281
|
+
driver_options:
|
282
|
+
host: '1.2.3.5'
|
283
|
+
user: 'user'
|
284
|
+
password: 'pass'
|
285
|
+
insecure: true
|
286
|
+
machine_options:
|
287
|
+
start_timeout: 600
|
288
|
+
create_timeout: 600
|
289
|
+
ready_timeout: 90
|
290
|
+
bootstrap_options:
|
291
|
+
use_linked_clone: true
|
292
|
+
datacenter: 'DC'
|
293
|
+
template_name: 'UBUNTU1264'
|
294
|
+
vm_folder: 'TEST'
|
295
|
+
num_cpus: 2,
|
296
|
+
network_name:
|
297
|
+
- vlan_20_1.2.3.4
|
298
|
+
memory_mb: 4096
|
299
|
+
resource_pool: 'CLSTR/TEST'
|
300
|
+
ssh:
|
301
|
+
user: root
|
302
|
+
paranoid: false
|
303
|
+
password: password
|
304
|
+
port: 22
|
305
|
+
convergence_options:
|
306
|
+
customization_spec:
|
307
|
+
domain: local
|
308
|
+
ipsettings:
|
309
|
+
dnsServerList:
|
310
|
+
- 8.8.8.8
|
311
|
+
- 8.8.4.4
|
312
|
+
|
313
|
+
platforms:
|
314
|
+
- name: one_disk
|
315
|
+
- name: two_disk
|
316
|
+
driver:
|
317
|
+
machine_options:
|
318
|
+
bootstrap_options:
|
319
|
+
additional_disk_size_gb:
|
320
|
+
- 10
|
321
|
+
- 10
|
322
|
+
- 10
|
323
|
+
- 10
|
324
|
+
|
325
|
+
suites:
|
326
|
+
- name: default
|
327
|
+
runlist:
|
328
|
+
- recipe[mycookbook::default]
|
329
|
+
- name: memory-intensive
|
330
|
+
runlist:
|
331
|
+
- recipe[mycookbook::intense]
|
332
|
+
driver:
|
333
|
+
machine_options:
|
334
|
+
bootstrap_options:
|
335
|
+
memory_mb: 8192
|
336
|
+
|
337
|
+
```
|
338
|
+
|
339
|
+
You can run then `kitchen diagnose` to verify the nodes and settings that will be used when you call `kitchen create`.
|
340
|
+
|
276
341
|
## Contributing
|
277
342
|
|
278
343
|
1. Fork it ( https://github.com/[my-github-username]/chef-provisioning-vsphere/fork )
|
@@ -686,7 +686,7 @@ module ChefProvisioningVsphere
|
|
686
686
|
require 'chef/provisioning/transport/winrm'
|
687
687
|
winrm_transport =
|
688
688
|
options[:winrm_transport].nil? ? :negotiate : options[:winrm_transport].to_sym
|
689
|
-
port = options[:port] || winrm_transport == :ssl ? '5986' : '5985'
|
689
|
+
port = options[:port] || (winrm_transport == :ssl ? '5986' : '5985')
|
690
690
|
winrm_options = {
|
691
691
|
user: (options[:user]).to_s,
|
692
692
|
pass: options[:password]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CenturyLink Cloud
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rbvmomi
|