chef-provisioning-vsphere 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
- module ChefProvisioningVsphereStubs
2
- class FakeActionHandler < Chef::Provisioning::ActionHandler
3
- def puts(out)
4
-
5
- end
6
- end
7
- end
1
+ module ChefProvisioningVsphereStubs
2
+ class FakeActionHandler < Chef::Provisioning::ActionHandler
3
+ def puts(out)
4
+
5
+ end
6
+ end
7
+ end
@@ -1,52 +1,52 @@
1
- module ChefProvisioningVsphereStubs
2
- class VsphereHelperStub < ChefProvisioningVsphere::VsphereHelper
3
- def initialize
4
- end
5
-
6
- def network_device_changes(action_handler, vm_template, options)
7
- [
8
- [RbVmomi::VIM::VirtualDeviceConfigSpec.new],
9
- [RbVmomi::VIM::VirtualDeviceConfigSpec.new]
10
- ]
11
- end
12
-
13
- def find_host(host_name)
14
- RbVmomi::VIM::HostSystem.new
15
- end
16
-
17
- def find_pool(pool_name)
18
- RbVmomi::VIM::ResourcePool.new(nil, nil)
19
- end
20
-
21
- def find_datastore(datastore_name)
22
- RbVmomi::VIM::Datastore.new
23
- end
24
-
25
- def find_customization_spec(options)
26
- RbVmomi::VIM::CustomizationSpec.new
27
- end
28
-
29
- def create_delta_disk(vm_template)
30
- end
31
- end
32
- end
33
-
34
- module RbVmomi
35
- class VIM::HostSystem
36
- attr_reader :parent
37
-
38
- def parent
39
- @parent ||= RbVmomi::VIM::ComputeResource.new
40
- end
41
- end
42
- end
43
-
44
- module RbVmomi
45
- class VIM::ComputeResource
46
- attr_reader :resourcePool
47
-
48
- def resourcePool
49
- @resourcePool ||= RbVmomi::VIM::ResourcePool.new(nil, nil)
50
- end
51
- end
52
- end
1
+ module ChefProvisioningVsphereStubs
2
+ class VsphereHelperStub < ChefProvisioningVsphere::VsphereHelper
3
+ def initialize
4
+ end
5
+
6
+ def network_device_changes(action_handler, vm_template, options)
7
+ [
8
+ [RbVmomi::VIM::VirtualDeviceConfigSpec.new],
9
+ [RbVmomi::VIM::VirtualDeviceConfigSpec.new]
10
+ ]
11
+ end
12
+
13
+ def find_host(host_name)
14
+ RbVmomi::VIM::HostSystem.new
15
+ end
16
+
17
+ def find_pool(pool_name)
18
+ RbVmomi::VIM::ResourcePool.new(nil, nil)
19
+ end
20
+
21
+ def find_datastore(datastore_name)
22
+ RbVmomi::VIM::Datastore.new
23
+ end
24
+
25
+ def find_customization_spec(options)
26
+ RbVmomi::VIM::CustomizationSpec.new
27
+ end
28
+
29
+ def create_delta_disk(vm_template)
30
+ end
31
+ end
32
+ end
33
+
34
+ module RbVmomi
35
+ class VIM::HostSystem
36
+ attr_reader :parent
37
+
38
+ def parent
39
+ @parent ||= RbVmomi::VIM::ComputeResource.new
40
+ end
41
+ end
42
+ end
43
+
44
+ module RbVmomi
45
+ class VIM::ComputeResource
46
+ attr_reader :resourcePool
47
+
48
+ def resourcePool
49
+ @resourcePool ||= RbVmomi::VIM::ResourcePool.new(nil, nil)
50
+ end
51
+ end
52
+ end
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.8.1
4
+ version: 0.8.2
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-08-25 00:00:00.000000000 Z
11
+ date: 2015-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbvmomi
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.4.4
139
+ rubygems_version: 2.4.8
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Provisioner for creating vSphere VM instances in Chef Provisioning.