automan 2.2.7 → 2.2.8
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 +4 -4
- data/lib/automan/cloudformation/launcher.rb +5 -2
- data/lib/automan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72c1ce9f4dcf2a5a02214296048dfe8e17dc875c
|
|
4
|
+
data.tar.gz: 5128ff152ef550afdaa6abe8c8b2e788f0673036
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/automan/version.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|