vagrant-vsphere 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: faf30eaf9f39c9f7abcb8b97554a0562ca6d4c90
4
- data.tar.gz: c5fbb49c7759d8d2ee6e52c2944637ca9cab594f
3
+ metadata.gz: 7b812be9bc8072e0a5fd2e90840dcd2724b5c239
4
+ data.tar.gz: 6e0e38a843fc07386977d31ba92652c566199a91
5
5
  SHA512:
6
- metadata.gz: e4c92537d8e4b00cafd185268587b8a955ab63ed9c146a9ba287c6307d9e47a8b9aa3c86846aef53ed13d87547386f7639a76b465fef6c17166c81d1833a8bdc
7
- data.tar.gz: 54837b1d1f0f87afe06299b74f4fead65284bb74d24c9dfe9c5a1f81841cddda26c02abe80dca3101909bbdb89611068da27dc0c00aca5322f8e3e9b2cc3ddfd
6
+ metadata.gz: e72303a3dd7c5d58036dd4dba0de2e875ddb15c0497e3e3970cc110a07e976e654349cf7ae29ad54cb0615fadcf225fd8f0750d215ae38a51adf62c7c27a2559
7
+ data.tar.gz: c554e098237ca92e41f1ff1ee079d8ac0503cc22b6286d9d88be88a792016e7e13c6d1ccaa404a011ad547dfab6c8765f426c42c3ebe4358bd6ab02acadffba6
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 1.0.1
2
+ current_version = 1.1.0
3
3
  tag = true
4
4
  commit = true
5
5
 
data/.rubocop_todo.yml CHANGED
@@ -1,13 +1,17 @@
1
1
  # This configuration was generated by `rubocop --auto-gen-config`
2
- # on 2014-12-31 12:33:22 -0700 using RuboCop version 0.28.0.
2
+ # on 2015-07-09 10:56:49 -0600 using RuboCop version 0.32.1.
3
3
  # The point is for the user to remove these configuration records
4
4
  # one by one as the offenses are removed from the code base.
5
5
  # Note that changes in the inspected code, or installation of new
6
6
  # versions of RuboCop, may require this file to be generated again.
7
7
 
8
- # Offense count: 10
8
+ # Offense count: 1
9
+ Lint/NonLocalExitFromIterator:
10
+ Enabled: false
11
+
12
+ # Offense count: 11
9
13
  Metrics/AbcSize:
10
- Max: 106
14
+ Max: 105
11
15
 
12
16
  # Offense count: 1
13
17
  # Configuration parameters: CountComments.
@@ -23,11 +27,16 @@ Metrics/CyclomaticComplexity:
23
27
  Metrics/LineLength:
24
28
  Max: 177
25
29
 
26
- # Offense count: 11
30
+ # Offense count: 12
27
31
  # Configuration parameters: CountComments.
28
32
  Metrics/MethodLength:
29
33
  Max: 54
30
34
 
35
+ # Offense count: 1
36
+ # Configuration parameters: CountComments.
37
+ Metrics/ModuleLength:
38
+ Max: 157
39
+
31
40
  # Offense count: 3
32
41
  Metrics/PerceivedComplexity:
33
42
  Max: 16
@@ -35,3 +44,37 @@ Metrics/PerceivedComplexity:
35
44
  # Offense count: 24
36
45
  Style/Documentation:
37
46
  Enabled: false
47
+
48
+ # Offense count: 1
49
+ # Cop supports --auto-correct.
50
+ Style/EmptyLiteral:
51
+ Enabled: false
52
+
53
+ # Offense count: 1
54
+ # Cop supports --auto-correct.
55
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
56
+ Style/FirstParameterIndentation:
57
+ Enabled: false
58
+
59
+ # Offense count: 1
60
+ # Cop supports --auto-correct.
61
+ # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues.
62
+ Style/HashSyntax:
63
+ Enabled: false
64
+
65
+ # Offense count: 2
66
+ # Cop supports --auto-correct.
67
+ # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
68
+ Style/RegexpLiteral:
69
+ Enabled: false
70
+
71
+ # Offense count: 3
72
+ # Cop supports --auto-correct.
73
+ # Configuration parameters: MultiSpaceAllowedForOperators.
74
+ Style/SpaceAroundOperators:
75
+ Enabled: false
76
+
77
+ # Offense count: 4
78
+ # Cop supports --auto-correct.
79
+ Style/SymbolLiteral:
80
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 1.1.0 (2015-07-09)
2
+
3
+ - Add explicit support for parallelization
4
+ ([xlucas:xlucas-patch-parallelization](https://github.com/nsidc/vagrant-vsphere/pull/126))
5
+ - Documentation updates
6
+ ([metrix78:metrix78-patch-1](https://github.com/nsidc/vagrant-vsphere/pull/127)
7
+ and
8
+ [fabriciocolombo:readme-ipaddress](https://github.com/nsidc/vagrant-vsphere/pull/128))
9
+
1
10
  ## 1.0.1 (2015-01-06)
2
11
 
3
12
  - Fix "undefined local variable or method datastore" error due to typo in a
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/nsidc/vagrant-vsphere.svg?branch=master)](https://travis-ci.org/nsidc/vagrant-vsphere)
1
+ [![Build Status](https://travis-ci.org/nsidc/vagrant-vsphere.svg?branch=master)](https://travis-ci.org/nsidc/vagrant-vsphere) [![Gem Version](https://badge.fury.io/rb/vagrant-vsphere.svg)](http://badge.fury.io/rb/vagrant-vsphere)
2
2
 
3
3
  # Vagrant vSphere Provider
4
4
 
@@ -19,9 +19,9 @@ This provider is built on top of the
19
19
  * libxml2, libxml2-dev, libxslt, libxslt-dev
20
20
 
21
21
  ## Current Version
22
- **version: 1.0.1**
22
+ **version: 1.1.0**
23
23
 
24
- vagrant-vsphere (**version: 1.0.1**) is available from
24
+ vagrant-vsphere (**version: 1.1.0**) is available from
25
25
  [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
26
26
 
27
27
  ## Installation
@@ -176,8 +176,10 @@ config.vm.network 'private_network', ip: '192.168.50.4'
176
176
  ```
177
177
 
178
178
  The IP address will only be set if a customization spec name is given. The
179
- customization spec must have network adapter settings configured. For each
180
- private network specified, there needs to be a corresponding network adapter in
179
+ customization spec must have network adapter settings configured with a static
180
+ IP address(just an unused address NOT the address you want the VM to be). The
181
+ config.vm.network line will overwrite the ip in the customization spec with the one you set.
182
+ For each private network specified, there needs to be a corresponding network adapter in
181
183
  the customization spec. An error will be thrown if there are more networks than
182
184
  adapters.
183
185
 
@@ -201,6 +203,17 @@ vsphere.mac = '00:50:56:XX:YY:ZZ'
201
203
  Take care to avoid using invalid or duplicate VMware MAC addresses, as this can
202
204
  easily break networking.
203
205
 
206
+ ## Troubleshooting
207
+
208
+ ### vCenter
209
+ ESXi is not supported. Make sure to connect to a vCenter server and not directly to an ESXi host. [ESXi vs vCenter](http://www.mustbegeek.com/difference-between-vsphere-esxi-and-vcenter/)
210
+
211
+ ### Permissions
212
+ If you have permission issues:
213
+
214
+ 1. give the connecting user read only access to everything, and full permission to a specific data center. Narrow the permissions down after a VM is created.
215
+ 2. Be sure the path to the VM is correct. see the "Template_Name" screenshots above for more information.
216
+
204
217
  ## Example Usage
205
218
 
206
219
  ### FILE: Vagrantfile
@@ -21,7 +21,7 @@ module VagrantPlugins
21
21
  Config
22
22
  end
23
23
 
24
- provider(:vsphere) do
24
+ provider(:vsphere, parallel: true) do
25
25
  # TODO: add logging
26
26
  setup_i18n
27
27
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '1.0.1'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
data/vSphere.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency 'rspec-core'
22
22
  s.add_development_dependency 'rspec-expectations'
23
23
  s.add_development_dependency 'rspec-mocks'
24
- s.add_development_dependency 'rubocop', '~> 0.28'
24
+ s.add_development_dependency 'rubocop', '~> 0.32.1'
25
25
 
26
26
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
27
27
  s.executables = s.files.grep(/^bin\//) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: '0.28'
117
+ version: 0.32.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ~>
123
123
  - !ruby/object:Gem::Version
124
- version: '0.28'
124
+ version: 0.32.1
125
125
  description: Enables Vagrant to manage machines with VMWare vSphere.
126
126
  email:
127
127
  - andrew.grauch@nsidc.org
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.0.14
199
+ rubygems_version: 2.4.6
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: VMWare vSphere provider