chef-provisioning-vsphere 2.3.0 → 2.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f30ed0266288f8eb896f123251c160a6e70416ac
|
4
|
+
data.tar.gz: 752ba947f311bad91910751a5995e7f0a96b8480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89775c312bcf41f1fb37a746a503c7aac416bddd61156825738d879cb6a4868abbea06f3b42b416574e4a3d28bdaeb601926a7b7e7c50f34c868de74e2cea4f6
|
7
|
+
data.tar.gz: cbdb0882a1e9737bc63884bf8b67134677c5f029729497f5d1651b0988f8f828b6c0bc760c54fa0d5802bbeeafa52da0a2a715465948608aa2aaa1c8325cd3d4
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [2.3.1](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.3.1) (2018-07-09)
|
4
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.3.0...2.3.1)
|
4
5
|
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Improve logging for optional settings [\#90](https://github.com/chef-partners/chef-provisioning-vsphere/pull/90) ([josh-barker](https://github.com/josh-barker))
|
9
|
+
|
10
|
+
## [v2.3.0](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v2.3.0) (2018-06-20)
|
5
11
|
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.2.2...v2.3.0)
|
6
12
|
|
7
13
|
**Merged pull requests:**
|
@@ -304,4 +310,4 @@
|
|
304
310
|
## [v0.1.3](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v0.1.3) (2014-05-09)
|
305
311
|
|
306
312
|
|
307
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
313
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
@@ -683,7 +683,7 @@ module ChefProvisioningVsphere
|
|
683
683
|
last_progress = progress
|
684
684
|
end
|
685
685
|
end
|
686
|
-
print "\n#{machine_name} done
|
686
|
+
print "\n#{machine_name} done!\n\n"
|
687
687
|
|
688
688
|
vm = vsphere_helper.find_vm(vm_folder, machine_name)
|
689
689
|
add_machine_spec_location(vm, machine_spec)
|
@@ -265,6 +265,8 @@ module ChefProvisioningVsphere
|
|
265
265
|
size = size.to_i
|
266
266
|
next if size <= 0
|
267
267
|
|
268
|
+
puts "Creating disk with #{size} GB"
|
269
|
+
|
268
270
|
task = vm.ReconfigVM_Task(
|
269
271
|
spec: RbVmomi::VIM.VirtualMachineConfigSpec(
|
270
272
|
deviceChange: [
|
@@ -278,6 +280,8 @@ module ChefProvisioningVsphere
|
|
278
280
|
)
|
279
281
|
task.wait_for_completion
|
280
282
|
end
|
283
|
+
|
284
|
+
puts nil unless Array(additional_disk_size_gb).empty?
|
281
285
|
end
|
282
286
|
|
283
287
|
# Mounts the an iso on the first virtual CD ROm
|
@@ -287,6 +291,8 @@ module ChefProvisioningVsphere
|
|
287
291
|
def set_initial_iso(vm, initial_iso_image)
|
288
292
|
return unless initial_iso_image
|
289
293
|
|
294
|
+
puts "Mounting #{initial_iso_image} on first virtual CD ROM", nil
|
295
|
+
|
290
296
|
d_obj = vm.config.hardware.device.select { |hw| hw.class == RbVmomi::VIM::VirtualCdrom }.first
|
291
297
|
backing = RbVmomi::VIM::VirtualCdromIsoBackingInfo(fileName: initial_iso_image)
|
292
298
|
|
@@ -327,6 +333,9 @@ module ChefProvisioningVsphere
|
|
327
333
|
end
|
328
334
|
return false
|
329
335
|
end
|
336
|
+
|
337
|
+
puts "Changing main disk to #{size_gb} GB", nil
|
338
|
+
|
330
339
|
disk.capacityInKB = size_kb
|
331
340
|
vm.ReconfigVM_Task(
|
332
341
|
spec: RbVmomi::VIM.VirtualMachineConfigSpec(
|
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: 2.3.
|
4
|
+
version: 2.3.1
|
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: 2018-
|
12
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|