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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5e9390d9e8588f3d8e11e823af69445d7bd624d
4
- data.tar.gz: 3bcd074d9c0c1061cb31a7facd81fa09155990a3
3
+ metadata.gz: 585d88ba43c9f510245efabf7d21140cddc4ca6d
4
+ data.tar.gz: 9e1b630c7295efd1de81d78f59145076d29e936f
5
5
  SHA512:
6
- metadata.gz: 0b0d0ef2a69891a5b814cf1f0e9ced08c3160a73a937f5a131dcbd3bd30c76b99176f0a163e41ce8522ee9b49dc3063a48e8f331ec6de08453671bb38274bc51
7
- data.tar.gz: 66e81efd91041a9e38f202c0b96e34ad1b4bd446388fa2f3c8d30326031d539235f8de1e5a53c292e9ffd881f7fa1bae10d887ecba70e2dafbcf92a974d2e4eb
6
+ metadata.gz: 0613dfed2829b0ec5fc77e2651e155dba8ce95ef9fd03068f78e89b6595d931d5f63d97bc549f080dbf68da303b9374681a8010f48689843cec74613d72c10bc
7
+ data.tar.gz: 8f7d54fe4bda54588697336bcd6f02cf8e34f3d70e189936db3c7d1269c189762d97ba7ca2a7f274fd1339fff55f31cf00d6babc61c4d375422dee290aa013ec
data/.gitignore CHANGED
@@ -4,4 +4,5 @@ Gemfile.lock
4
4
  .direnv/
5
5
  .envrc
6
6
  .ruby-version
7
- my_cookbook
7
+ my_cookbook
8
+ .DS_Store
data/.travis.yml CHANGED
@@ -7,4 +7,4 @@ rvm:
7
7
  - 2.3.2
8
8
  script:
9
9
  - bundle exec rake style
10
- - bundle exec rake spec
10
+ - bundle exec rake unit
data/CHANGELOG.md CHANGED
@@ -1,7 +1,17 @@
1
1
  # Change Log
2
2
 
3
- ## [1.1.1](https://github.com/chef-partners/chef-provisioning-vsphere/tree/1.1.1) (2017-04-20)
4
- [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.0...1.1.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]
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ChefProvisioningVsphere
3
- VERSION = '1.1.1'.freeze
3
+ VERSION = '1.1.2'.freeze
4
4
  end
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.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-04-20 00:00:00.000000000 Z
12
+ date: 2017-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rbvmomi