chef-provisioning-vra 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/CHANGELOG.md +3 -0
- data/Rakefile +3 -1
- data/chef-provisioning-vra.gemspec +1 -0
- data/lib/chef/provisioning/vra_driver/driver.rb +4 -3
- data/lib/chef/provisioning/vra_driver/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58fb5f7df2919675ec5a75bead06f90068ddadf8
|
4
|
+
data.tar.gz: a32a6af1ee7750a6b383ff8d705e1462b38a5972
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24beba481aa33edef3c9991705dd32f0039134c664edd516bff2db0e2bd567fe8d270ab5caa1da3e0f1c5c9ee83fa8a44a5c1a06172d1d39730ff929b9471a26
|
7
|
+
data.tar.gz: 41f0ed15009cb0444e7742140b23629014b7b92c331878c75c34d415180f40963de277c62d0e5474b0539e815d8c8c9da6367f5ceae4922b89f3aca2a8f26383
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# chef-provisioning-vra CHANGELOG
|
2
2
|
|
3
|
+
## v0.2.1 (2015-12-17)
|
4
|
+
* [pr#6](https://github.com/chef-partners/chef-provisioning-vra/pull/6) Fixing bug that would cause machines to not properly converge when used with machine_batch
|
5
|
+
|
3
6
|
## v0.2.0 (2015-12-15)
|
4
7
|
* [pr#5](https://github.com/chef-partners/chef-provisioning-vra/pull/5) Adding retry logic in wait_for method if an exception is encountered
|
5
8
|
|
data/Rakefile
CHANGED
@@ -44,6 +44,7 @@ class Chef
|
|
44
44
|
super
|
45
45
|
|
46
46
|
_, @base_url = driver_url.split(':', 2)
|
47
|
+
@resources = {}
|
47
48
|
end
|
48
49
|
|
49
50
|
def allocate_machine(action_handler, machine_spec, machine_options)
|
@@ -126,12 +127,12 @@ class Chef
|
|
126
127
|
|
127
128
|
def resource_for(machine_spec)
|
128
129
|
return nil if machine_spec.location.nil?
|
129
|
-
return @resource if @resource
|
130
130
|
|
131
131
|
begin
|
132
|
-
|
132
|
+
resource_id = machine_spec.location['resource_id']
|
133
|
+
@resources[resource_id] ||= vra_client.resources.by_id(resource_id)
|
133
134
|
rescue Vra::Exception::NotFound
|
134
|
-
|
135
|
+
nil
|
135
136
|
end
|
136
137
|
end
|
137
138
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning-vra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Partner Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-provisioning
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.35'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.35'
|
97
111
|
description: A Chef Provisioning driver for VMware vRealize Automation (vRA)
|
98
112
|
email:
|
99
113
|
- partnereng@chef.io
|
@@ -104,6 +118,7 @@ files:
|
|
104
118
|
- ".gitignore"
|
105
119
|
- ".rspec"
|
106
120
|
- ".rubocop.yml"
|
121
|
+
- ".travis.yml"
|
107
122
|
- CHANGELOG.md
|
108
123
|
- Gemfile
|
109
124
|
- LICENSE
|