zergrush_cf 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTkyNGMzNzAzMzM0MzVmYzA3ZDJkNDY2ZmQ5ZDZhMDZjNDlhMjFjZA==
4
+ MjJjOWI4MmYzZjUyODVlNjFiYjdmODBjZWI1YTBmZDhkODE2NmNlMQ==
5
5
  data.tar.gz: !binary |-
6
- NmQxMjRhNjAzMWI2MzgyYjM2YjgxZTY5OTQxMzcyNDViMTRkYzA3ZQ==
6
+ Zjg4NTEyNzhlZWNjN2FiNTNiMmY5NTRjNWUwYThjMTcyOGE3NTM1MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjQ1MGMwOWQ5ZTExMDAwMGQ5NTI1MzYwNjI4YWNlYzg3N2FkYmFmNGEyYmI4
10
- YjM5ODQzNGE1ZGJjNGYyNzNlYWQyZTI3ZDQ3MWIwYWUxZmI2NDc0ZDI3MTk0
11
- OGQ4NzEzZTQzODYwNDA4NjE0ZWQxMzkyNGE4MTczNWJjNGJkMTc=
9
+ MGY1M2VhMDAxNDEyNDczY2U1OGY1MTMwOTY3ZDA4Yzk5NjgwZjMyZjU1NmQ3
10
+ YTVhZjNlOGQ3MjFhYmE0ZjIzOTAzMWI5MTI0ZDIwNTY3N2FlNGIwYmU3Y2Y2
11
+ OGIwNmZhZGViMWE0OTAzODhlMzYwNjM3MWIzMGNkZjhjZDZiYzM=
12
12
  data.tar.gz: !binary |-
13
- MDlmMDNkYzNlMDk2ZWFiZThlNWU0M2E2Y2QyNTZkYTQ1ZGZmNzYyNmU5YTcx
14
- ZjYwODQ4OTc5NTk2ZmRiZWI5ODg0ZjA1N2RkYTc3MWMxMjFjZDA3MDQ3YWM4
15
- OTA0MTc5YjM3MmM5OGUwMGViY2M1YTM4YTY2MWJmMTcwZTgxYjc=
13
+ Njg5Y2ZmOGYzZmRjYjc4ZmEzZTdjYmNkNjI4NDJjM2UzMDBjNzBmZTIzZmUy
14
+ NDNkMzMxMDM4MWM1ZjYyZjNkOTI4NzlmMTUwMjc4ZTYxYWM1ODI4Mzc4ZGM0
15
+ ZDlhM2E1MjEwOGRmNTFlYmVmYWZhZThiYzVlNDNhYWFmNmUzNTI=
@@ -118,12 +118,12 @@ class CloudFormation < ZergGemPlugin::Plugin "/driver"
118
118
  end
119
119
 
120
120
  events = nil
121
- with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::AWS::CloudFormation::Error) {
121
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::Errors::Error) {
122
122
  events = cf.describe_stack_events(stack_name).body['StackEvents']
123
123
  }
124
124
  while events == nil do
125
125
  sleep 3
126
- with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::AWS::CloudFormation::Error) {
126
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::Errors::Error) {
127
127
  events = cf.describe_stack_events(stack_name).body['StackEvents']
128
128
  }
129
129
  end
@@ -134,7 +134,7 @@ class CloudFormation < ZergGemPlugin::Plugin "/driver"
134
134
  logRabbitEvents(events.first(events.length - event_counter), rabbit_objects, eval_params(task_hash["vm"]["driver"]["driveroptions"][0]["rabbit"]))
135
135
  event_counter = events.length
136
136
 
137
- with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::AWS::CloudFormation::Error) {
137
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::Errors::Error) {
138
138
  events = cf.describe_stack_events(stack_name).body['StackEvents']
139
139
  }
140
140
  outputs_info = cf.describe_stacks({ 'StackName' => stack_name })
@@ -213,13 +213,13 @@ class CloudFormation < ZergGemPlugin::Plugin "/driver"
213
213
  end
214
214
 
215
215
  events = nil
216
- with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::AWS::CloudFormation::Error) {
216
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::Errors::Error) {
217
217
  events = cf.describe_stack_events(stack_name).body['StackEvents']
218
218
  }
219
219
  while events == nil do
220
220
  sleep 3
221
221
  begin
222
- with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::AWS::CloudFormation::Error) {
222
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::Errors::Error) {
223
223
  events = cf.describe_stack_events(stack_name).body['StackEvents']
224
224
  }
225
225
  rescue Fog::AWS::CloudFormation::NotFound
@@ -235,7 +235,7 @@ class CloudFormation < ZergGemPlugin::Plugin "/driver"
235
235
 
236
236
  event_counter = events.length
237
237
  begin
238
- with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::AWS::CloudFormation::Error) {
238
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20, :rescue => Fog::Errors::Error) {
239
239
  events = cf.describe_stack_events(stack_name).body['StackEvents']
240
240
  }
241
241
  outputs_info = cf.describe_stacks({ 'StackName' => stack_name })
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module ZergrushCF
25
- VERSION = "0.0.10"
25
+ VERSION = "0.0.11"
26
26
  end
data/zergrush_cf.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.add_development_dependency "bundler", ">= 1.0.0"
19
19
  s.add_development_dependency "rake"
20
- s.add_development_dependency "zergrush", ">= 0.0.17"
20
+ s.add_development_dependency "zergrush", ">= 0.0.18"
21
21
 
22
22
  s.add_dependency "fog", ">=1.20.0"
23
23
  s.add_dependency "bunny", ">=1.2.1"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zergrush_cf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - MTN Satellite Communications
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.17
47
+ version: 0.0.18
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.17
54
+ version: 0.0.18
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fog
57
57
  requirement: !ruby/object:Gem::Requirement