chef-provisioning-vsphere 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94f12572899fa323e4850f9dba56919e530f1286
|
4
|
+
data.tar.gz: 49bd4bee75b043471c114250d93684333ab42651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45810258d60b403cddfd5bed2eda7ca8eec5332e0ad459d8e96bd6325b6200a55382f8bf686da79247c954978a282d375df47a17528533320d926ba3ebc46f7a
|
7
|
+
data.tar.gz: 37d60704a8f35eab4354877ee8ebc43d9191ee56af75b1f05146563309ad1faa9f2b7bf7e4492d2b4ff7fccd347969237b28a1418e073d46c3d5285e8c1b01d1
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [2.0.
|
4
|
-
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/
|
3
|
+
## [2.0.2](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.2) (2017-05-13)
|
4
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.0...2.0.2)
|
5
|
+
|
6
|
+
**Closed issues:**
|
7
|
+
|
8
|
+
- datacenter not found error [\#23](https://github.com/chef-partners/chef-provisioning-vsphere/issues/23)
|
9
|
+
|
10
|
+
**Merged pull requests:**
|
11
|
+
|
12
|
+
- Enable to match regex [\#26](https://github.com/chef-partners/chef-provisioning-vsphere/pull/26) ([jcalonsoh](https://github.com/jcalonsoh))
|
13
|
+
|
14
|
+
## [v2.0.0](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v2.0.0) (2017-05-12)
|
15
|
+
[Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v1.1.2...v2.0.0)
|
5
16
|
|
6
17
|
**Merged pull requests:**
|
7
18
|
|
@@ -157,7 +157,7 @@ module ChefProvisioningVsphere
|
|
157
157
|
def hostname_from(options, vm_name)
|
158
158
|
hostname = options[:hostname] || vm_name
|
159
159
|
test = /^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])$/
|
160
|
-
unless hostname.match
|
160
|
+
unless hostname.match(test) # rubocop:disable Performance/RegexpMatch
|
161
161
|
raise 'Only letters, numbers or hyphens in hostnames allowed'
|
162
162
|
end
|
163
163
|
RbVmomi::VIM::CustomizationFixedName.new(name: hostname)
|
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.2
|
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-05-
|
12
|
+
date: 2017-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rbvmomi
|