cloud-mu 2.0.0.pre.alpha4 → 2.0.0.pre.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cloud-mu.gemspec +2 -2
- data/modules/mu/config.rb +10 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9e39984a806ae75ce0f8515204b6a5eed46ff42521c22271397f9cfb5fb529c
|
4
|
+
data.tar.gz: 6548cdbc9871238fa7e6a3856b990f6b6a0fde84f380df392c6d10a4986a0c3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79c13219169bbfbc987f5228f48c91879d2f08e6eca20d85cfa1b20e3de2dc5cfa2994ef4744f83bff49c1604a7b768befcf4a4145768928aff9b81affbfdf19
|
7
|
+
data.tar.gz: 189a009570f6184876369969dca6f5f8752caeb29ff84c9bce8af944cdb9478781d67c9f15ec0f69ca4351ebce2378c75234135e067e717deab05a718fb7e41f
|
data/cloud-mu.gemspec
CHANGED
@@ -17,8 +17,8 @@ end
|
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
19
|
s.name = 'cloud-mu'
|
20
|
-
s.version = '2.0.0-
|
21
|
-
s.date = '
|
20
|
+
s.version = '2.0.0-alpha5'
|
21
|
+
s.date = '2019-02-12'
|
22
22
|
s.require_paths = ['modules']
|
23
23
|
s.required_ruby_version = '>= 2.4'
|
24
24
|
s.summary = "The eGTLabs Mu toolkit for unified cloud deployments"
|
data/modules/mu/config.rb
CHANGED
@@ -1152,19 +1152,22 @@ module MU
|
|
1152
1152
|
ok
|
1153
1153
|
end
|
1154
1154
|
|
1155
|
-
|
1156
|
-
allregions
|
1157
|
-
allregions.concat(MU::Cloud::
|
1155
|
+
# XXX this is some primitive nonsense and needs to be cloud-agnostic
|
1156
|
+
@@allregions = []
|
1157
|
+
@@allregions.concat(MU::Cloud::AWS.listRegions) if MU::Cloud::AWS.myRegion
|
1158
|
+
@@allregions.concat(MU::Cloud::Google.listRegions) if MU::Cloud::Google.defaultProject
|
1158
1159
|
|
1159
1160
|
# Configuration chunk for choosing a provider region
|
1160
1161
|
# @return [Hash]
|
1161
1162
|
def self.region_primitive
|
1162
|
-
allregions
|
1163
|
-
|
1164
|
-
|
1163
|
+
if !@@allregions or @@allregions.empty?
|
1164
|
+
@@allregions = []
|
1165
|
+
@@allregions.concat(MU::Cloud::AWS.listRegions) if MU::Cloud::AWS.myRegion
|
1166
|
+
@@allregions.concat(MU::Cloud::Google.listRegions) if MU::Cloud::Google.defaultProject
|
1167
|
+
end
|
1165
1168
|
{
|
1166
1169
|
"type" => "string",
|
1167
|
-
"enum" => allregions
|
1170
|
+
"enum" => @@allregions
|
1168
1171
|
}
|
1169
1172
|
end
|
1170
1173
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloud-mu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.
|
4
|
+
version: 2.0.0.pre.alpha5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Stange
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: erubis
|