chef-provisioning-vsphere 0.4.2 → 0.5.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 +4 -4
- data/Gemfile +1 -1
- data/LICENSE +20 -0
- data/chef-provisioning-vsphere.gemspec +1 -1
- data/lib/chef/provisioning/vsphere_driver.rb +4 -3
- data/lib/chef/provisioning/vsphere_driver/driver.rb +288 -212
- data/lib/chef/provisioning/vsphere_driver/version.rb +1 -1
- data/lib/chef/provisioning/vsphere_driver/vsphere_url.rb +39 -25
- data/spec/integration_tests/vsphere_driver_spec.rb +135 -133
- data/spec/unit_tests/VsphereDriver_spec.rb +163 -203
- data/spec/unit_tests/VsphereUrl_spec.rb +7 -1
- metadata +5 -4
@@ -27,7 +27,13 @@ describe 'VsphereUrl' do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
context "when setting from a hash" do
|
30
|
-
let(:url) {URI::VsphereUrl.from_config({
|
30
|
+
let(:url) { URI::VsphereUrl.from_config({
|
31
|
+
:host => '2.2.2.2',
|
32
|
+
:port => 2345,
|
33
|
+
:path => "/hoooo",
|
34
|
+
:use_ssl => false,
|
35
|
+
:insecure => true
|
36
|
+
}) }
|
31
37
|
|
32
38
|
it "asigns the correct url" do
|
33
39
|
expect(url.to_s).to eq('vsphere://2.2.2.2:2345/hoooo?use_ssl=false&insecure=true')
|
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.
|
4
|
+
version: 0.5.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-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbvmomi
|
@@ -81,6 +81,7 @@ extra_rdoc_files:
|
|
81
81
|
files:
|
82
82
|
- ".gitignore"
|
83
83
|
- Gemfile
|
84
|
+
- LICENSE
|
84
85
|
- README.md
|
85
86
|
- Rakefile
|
86
87
|
- chef-provisioning-vsphere.gemspec
|
@@ -97,7 +98,7 @@ files:
|
|
97
98
|
- spec/unit_tests/VsphereUrl_spec.rb
|
98
99
|
homepage: https://github.com/tier3/chef-provisioning-vsphere
|
99
100
|
licenses:
|
100
|
-
-
|
101
|
+
- MIT
|
101
102
|
metadata: {}
|
102
103
|
post_install_message:
|
103
104
|
rdoc_options: []
|
@@ -115,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
116
|
version: '0'
|
116
117
|
requirements: []
|
117
118
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.4.
|
119
|
+
rubygems_version: 2.4.4
|
119
120
|
signing_key:
|
120
121
|
specification_version: 4
|
121
122
|
summary: Provisioner for creating vSphere VM instances in Chef Provisioning.
|