fog-vsphere 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -2
- data/Jenkinsfile +10 -0
- data/lib/fog/vsphere/requests/compute/create_vm.rb +2 -1
- data/lib/fog/vsphere/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa29ecec11049b1398d65cb6c1542b14658a3afad14a9f005f19d5a21b2820a
|
4
|
+
data.tar.gz: 7f356b9fcc49454d530ce22fd244450f0aac04cf2f6ddc1e0072a4c02a684248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a3dd52da5a8a6a9a2b8cb43ff4dae629efe0e89c6fef8878f6d30278f13901507b4c8c7c03e172dbf597aff7b27335c39ab994dcf3e253dede5ba03e9dbcf48
|
7
|
+
data.tar.gz: e7543eb6086cb7806e5a574e4c889e7576f325749fd98f65564aa55b7451baea68e37ecd05f7f673b8cc584cd5a6a42aff3e051e79da4d906f30f14398234803
|
data/CHANGELOG.md
CHANGED
data/Jenkinsfile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
pipeline {
|
2
|
+
agent any
|
3
|
+
stages {
|
4
|
+
stage('Start Ansible Job') {
|
5
|
+
steps {
|
6
|
+
ansibleTower(jobTemplate: '8', towerServer: 'Fog-Tower', jobType: 'run', inventory: 'Upstream-Fog', importTowerLogs: true, verbose: true, credential: 'Fog-SSH', throwExceptionWhenFail: true, importWorkflowChildLogs: true, templateType: 'job')
|
7
|
+
}
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
@@ -48,11 +48,12 @@ module Fog
|
|
48
48
|
|
49
49
|
# rubocop:disable Metrics/ParameterLists
|
50
50
|
def create_vm_on_storage_pod(vm_pod_name, volumes, vm_cfg, vmFolder, resource_pool, datacenter, host = nil)
|
51
|
+
disks_per_pod = group_disks_by_storage_pod(volumes, vm_pod_name: vm_pod_name)
|
51
52
|
storage_spec = RbVmomi::VIM::StoragePlacementSpec.new(
|
52
53
|
type: 'create',
|
53
54
|
folder: vmFolder,
|
54
55
|
resourcePool: resource_pool,
|
55
|
-
podSelectionSpec: pod_selection_spec(vm_pod_name,
|
56
|
+
podSelectionSpec: pod_selection_spec(vm_pod_name, disks_per_pod, datacenter),
|
56
57
|
configSpec: vm_cfg,
|
57
58
|
host: host
|
58
59
|
)
|
data/lib/fog/vsphere/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J.R. Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- CONTRIBUTING.md
|
187
187
|
- CONTRIBUTORS.md
|
188
188
|
- Gemfile
|
189
|
+
- Jenkinsfile
|
189
190
|
- LICENSE.md
|
190
191
|
- README.md
|
191
192
|
- Rakefile
|
@@ -334,7 +335,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
335
|
- !ruby/object:Gem::Version
|
335
336
|
version: '0'
|
336
337
|
requirements: []
|
337
|
-
|
338
|
+
rubyforge_project:
|
339
|
+
rubygems_version: 2.7.6.2
|
338
340
|
signing_key:
|
339
341
|
specification_version: 4
|
340
342
|
summary: Module for the 'fog' gem to support VMware vSphere.
|