chef-provisioning-vsphere 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -2
- data/README.md +3 -2
- data/lib/chef/provisioning/vsphere_driver/version.rb +1 -1
- data/lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03c5998bc43727c00125d14f4606ac01a3ee0f20
|
4
|
+
data.tar.gz: adeb79939b6432484539b9356f131945f3796134
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29c3144c3b2456590b965b3de6e6f240170bfa5513d4862f2262ecbf6e7b1d544290e6a6edec657e4835b8fe1bd08ab80dea249c745c804a63c30b904ce30019
|
7
|
+
data.tar.gz: 8b9956c30bbd487e8649c1a0b76db0b3ae577f7558d9d8ff73313e7c6c93bb70eed88f90a881bc3f899b390c2566e00f4ddac745846735976bb472db10754d89
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [2.0.
|
4
|
-
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.
|
3
|
+
## [2.0.7](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.7) (2017-10-19)
|
4
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.6...2.0.7)
|
5
|
+
|
6
|
+
**Closed issues:**
|
7
|
+
|
8
|
+
- Cannot assign requested address - bind\(2\) for \[::1\]:8889 [\#58](https://github.com/chef-partners/chef-provisioning-vsphere/issues/58)
|
9
|
+
|
10
|
+
**Merged pull requests:**
|
11
|
+
|
12
|
+
- Solve \#59: action :destroy fails on powered off VM [\#60](https://github.com/chef-partners/chef-provisioning-vsphere/pull/60) ([algaut](https://github.com/algaut))
|
13
|
+
- Added single-host config info [\#57](https://github.com/chef-partners/chef-provisioning-vsphere/pull/57) ([akulbe](https://github.com/akulbe))
|
14
|
+
- typo [\#55](https://github.com/chef-partners/chef-provisioning-vsphere/pull/55) ([netflash](https://github.com/netflash))
|
15
|
+
|
16
|
+
## [v2.0.6](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v2.0.6) (2017-07-24)
|
17
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.5...v2.0.6)
|
5
18
|
|
6
19
|
**Closed issues:**
|
7
20
|
|
data/README.md
CHANGED
@@ -79,7 +79,7 @@ This will use chef-zero and needs no chef server (only works for ssh). Note that
|
|
79
79
|
|
80
80
|
- `[:use_linked_clone]` - (true/false) great for testing but not recommended for production.
|
81
81
|
- `[:datacenter]` - Name of vsphere datacenter (*required*)
|
82
|
-
- `[:template_name]` - path to vmware template (can be template or a
|
82
|
+
- `[:template_name]` - path to vmware template (can be template or a shutdown vm) (*required*)
|
83
83
|
- `[:template_folder]` - path to a folder containing the template (do not use if template is in the root vm folder)
|
84
84
|
- `[:vm_folder]` - path to a folder where the machine will be created.
|
85
85
|
- `[:datastore]` - name of datastore to use
|
@@ -87,7 +87,8 @@ This will use chef-zero and needs no chef server (only works for ssh). Note that
|
|
87
87
|
- `[:network_name]` - array of network names to use. A NIC will be added for each
|
88
88
|
- `[:memory_mb]` - number of megabytes to allocate for machine
|
89
89
|
- `[:host]` - `{cluster}`/`{host}` to use during provisioning
|
90
|
-
- `[:resource_pool]` - `{cluster}`/`{resource pool}` to use during provisioning
|
90
|
+
- `[:resource_pool]` - `{cluster}`/`{resource pool}` to use during provisioning
|
91
|
+
(for single-host setups, use `{vsphere_ip / vsphere_hostname}`/`{resource pool}`)
|
91
92
|
- `[:additional_disk_size_gb]` - an array of numbers, each signifying the number of gigabytes to assign to an additional disk (*this requires a datastore to be specified*)
|
92
93
|
- `[:bootstrap_ipv4]` - `true` / `false`, set to `true` to wait for an IPv4 address to become available before bootstrapping.
|
93
94
|
- `[:ipv4_timeout]` - use with `[:bootstrap_ipv4]`, set the time in seconds to wait before an IPv4 address is received (defaults to 30)
|
@@ -79,6 +79,7 @@ module ChefProvisioningVsphere
|
|
79
79
|
# @param [Object] timeout Defaults to 600 seconds or 10 mins before giving up.
|
80
80
|
def stop_vm(vm, timeout = 600)
|
81
81
|
start = Time.now.utc
|
82
|
+
return if vm.runtime.powerState == "poweredOff"
|
82
83
|
begin
|
83
84
|
vm.ShutdownGuest
|
84
85
|
until (Time.now.utc - start) > timeout ||
|
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.0.
|
4
|
+
version: 2.0.7
|
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-
|
12
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|