bosh_vcloud_cpi 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloud/vcloud/steps/add_catalog.rb +5 -7
- data/lib/cloud/vcloud/xml/wrapper.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41e5d22c34259d525d80fc93be300ffa45e488ea
|
4
|
+
data.tar.gz: 1f2f2f26e17204abcbab95e1078ec405896527c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cb34fbb4d4d08130189df95857053638a1823f7fcfeca00a974a108e5ce22ca2f07a368c2c57066cad285359e9c39fb5b8e7971245a67679097d9cead34025f
|
7
|
+
data.tar.gz: d77e38d6eb5246831bd737368bae9368e91aec2eebe2e8f4ac9aae53a2110fcb35f699c62ddb523b3414787f4d2a8ca2f2e6bbd852ab3c5a8ed7c856e6b0c73f
|
@@ -10,25 +10,23 @@ module VCloudCloud
|
|
10
10
|
link,
|
11
11
|
:payload => catalog,
|
12
12
|
:headers => { :content_type => link.type }
|
13
|
-
|
13
|
+
catalog = client.wait_entity result
|
14
14
|
client.flush_cache
|
15
|
+
return catalog
|
15
16
|
rescue RestClient::BadRequest
|
16
17
|
# check if catalog already exists; if so, this is not an error
|
17
18
|
client.flush_cache
|
18
19
|
catalog = client.org.catalog_link(name)
|
19
20
|
if catalog
|
20
|
-
return catalog
|
21
|
+
return client.resolve_link(catalog)
|
21
22
|
end
|
22
23
|
raise
|
23
24
|
end
|
24
25
|
end
|
25
26
|
|
26
27
|
def rollback
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
client.invoke :delete, catalog
|
31
|
-
state.delete :catalog
|
28
|
+
# rollback is purposely not implemented because it could affect VMs
|
29
|
+
# in other deployments that share the same catalog
|
32
30
|
end
|
33
31
|
end
|
34
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_vcloud_cpi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_common
|
@@ -124,7 +124,7 @@ dependencies:
|
|
124
124
|
version: '0'
|
125
125
|
description: |-
|
126
126
|
BOSH vCloud CPI
|
127
|
-
|
127
|
+
d7afb6
|
128
128
|
email: support@cloudfoundry.com
|
129
129
|
executables: []
|
130
130
|
extensions: []
|