cloudstrap 0.47.0.pre → 0.47.2.pre
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/cloudstrap/amazon/ec2.rb +1 -1
- data/lib/cloudstrap/config.rb +5 -0
- 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: 1d47fbc090ca2646eef3d3ee888781019e590a0f
|
|
4
|
+
data.tar.gz: 5de7a4205f570048dbf87fe3eeba37ad0f772a32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18d1f02d11172bfee7b3ce45a2013c60aa6271c82c01bcfe284a67a95a84ad153f38e697fd8720b8c94a437817cce4448746627ad2e34302e89a2fb97c6ae8ba
|
|
7
|
+
data.tar.gz: 6df26b4464f08af812708d6ab6ebda4724672c8053f5fd80bff30e96f8b6b6edc5adb9ab52d41c3f6ebc7afc76bc8213d714642aaeb449a994dd2d376a3ce1b7
|
|
@@ -424,7 +424,7 @@ module Cloudstrap
|
|
|
424
424
|
Contract None => ArrayOf[Aws::EC2::Types::AvailabilityZone]
|
|
425
425
|
def availability_zones!
|
|
426
426
|
@availability_zones = call_api(:describe_availability_zones)
|
|
427
|
-
.availability_zones
|
|
427
|
+
.availability_zones.take(config.maximum_availability_zones)
|
|
428
428
|
end
|
|
429
429
|
|
|
430
430
|
Contract None => ArrayOf[Aws::EC2::Types::AvailabilityZone]
|
data/lib/cloudstrap/config.rb
CHANGED
|
@@ -242,6 +242,11 @@ module Cloudstrap
|
|
|
242
242
|
lookup(:remote_hooks_dir) { '.cloudstrap/hooks' }
|
|
243
243
|
end
|
|
244
244
|
|
|
245
|
+
Contract None => Pos
|
|
246
|
+
def maximum_availability_zones
|
|
247
|
+
lookup(:maximum_availability_zones) { '3' }.to_i
|
|
248
|
+
end
|
|
249
|
+
|
|
245
250
|
private
|
|
246
251
|
|
|
247
252
|
Contract None => ::Pastel::Delegator
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudstrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.47.
|
|
4
|
+
version: 0.47.2.pre
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Olstrom
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|