automan 2.2.7 → 2.2.8

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: 95870592a6aa8d47bc163f61c50bf6db1f1de950
4
- data.tar.gz: dfd047c6e6a07e96e4759b0ed4c7f6b9576189c3
3
+ metadata.gz: 72c1ce9f4dcf2a5a02214296048dfe8e17dc875c
4
+ data.tar.gz: 5128ff152ef550afdaa6abe8c8b2e788f0673036
5
5
  SHA512:
6
- metadata.gz: efceb65bcafb470813c983a73e84a8c597b20c5b79da6a0d816a0eed515effd671bcd0f78a3765f32804afcbca59ceeb783e8bbdd5f653b81d2417445afe36b7
7
- data.tar.gz: 15ba5b7b1ffd022f8c0e26763177ca439bdf9ca1a269f524112bb50bb725bd5fb4160cc73de742aecc4e69860473a50a4acbc312582279ba1ec3cb5dc589e83f
6
+ metadata.gz: 8a59277e8a1276bc289af87e43c53368874169e5170d170c6d829580e67f79cf0d98a2eeaafcb4aa8a9b0d5e3f70c66c5d3a61fc9f52bd26457e6b08d726b669
7
+ data.tar.gz: 8fd7a22d12d479c57b34931079f6a7f5e32d25012a1fb6d174e70a5bcfd511196dc1d76b2158cd82b1d34cbfcce26dd12860ca03eb844633d209e2c210d48838
@@ -148,6 +148,8 @@ module Automan::Cloudformation
148
148
 
149
149
  logger.info "updating stack #{name}"
150
150
 
151
+ no_updates_needed = false
152
+
151
153
  # if cfn determines that no updates are to be performed,
152
154
  # it raises a ValidationError
153
155
  begin
@@ -157,10 +159,11 @@ module Automan::Cloudformation
157
159
  raise e
158
160
  else
159
161
  logger.info e.message
162
+ no_updates_needed = true
160
163
  end
161
164
  end
162
165
 
163
- if wait_for_completion
166
+ if !no_updates_needed && wait_for_completion
164
167
  logger.info "waiting for stack #{name} to update"
165
168
  wait_until { stack_update_complete? }
166
169
  end
@@ -193,4 +196,4 @@ module Automan::Cloudformation
193
196
  end
194
197
  end
195
198
 
196
- end
199
+ end
@@ -1,3 +1,3 @@
1
1
  module Automan
2
- VERSION = "2.2.7"
2
+ VERSION = "2.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: automan
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chalfant
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-15 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler