mixlib-install 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/mixlib/install/backend/base.rb +19 -0
- data/lib/mixlib/install/backend/package_router.rb +0 -15
- data/lib/mixlib/install/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: 1b9844b39b2a0f932cc0c28d8ea483257be98e66
|
4
|
+
data.tar.gz: 6a57e3f38c78962adbbb4a49fb9af22f33689dfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20883ba88a6dc6886422e4396fe4ef01340c905c7f1f81fd6d67800b83ede9856a0b975f93b24958c12c613831b0dbe326c7b0afd97d2d3483d5e3f1bcfa8092
|
7
|
+
data.tar.gz: 2da868dcb318fd3973833004dc09235cae1b948771aab3fceba9a2fbda51262c5ac4e869ec091f96527079e2e099341bcbcd3c81d4f0040eb02065f55fd87ec0
|
data/CHANGELOG.md
CHANGED
@@ -175,6 +175,25 @@ module Mixlib
|
|
175
175
|
|
176
176
|
[platform, platform_version]
|
177
177
|
end
|
178
|
+
|
179
|
+
#
|
180
|
+
# Normalizes architecture information that we receive from omnibus.architecture
|
181
|
+
#
|
182
|
+
# @param [String] architecture
|
183
|
+
#
|
184
|
+
# @return String [architecture]
|
185
|
+
def normalize_architecture(architecture)
|
186
|
+
case architecture
|
187
|
+
when "amd64"
|
188
|
+
"x86_64"
|
189
|
+
when "x86", "i86pc", "i686"
|
190
|
+
"i386"
|
191
|
+
when "sun4u", "sun4v"
|
192
|
+
"sparc"
|
193
|
+
else
|
194
|
+
architecture
|
195
|
+
end
|
196
|
+
end
|
178
197
|
end
|
179
198
|
end
|
180
199
|
end
|
@@ -42,7 +42,6 @@ module Mixlib
|
|
42
42
|
else
|
43
43
|
artifacts_for_version(options.product_version)
|
44
44
|
end
|
45
|
-
|
46
45
|
windows_artifact_fixup!(artifacts)
|
47
46
|
end
|
48
47
|
|
@@ -226,20 +225,6 @@ Can not find any builds for #{options.product_name} in #{endpoint}.
|
|
226
225
|
def omnibus_project
|
227
226
|
@omnibus_project ||= PRODUCT_MATRIX.lookup(options.product_name, options.product_version).omnibus_project
|
228
227
|
end
|
229
|
-
|
230
|
-
#
|
231
|
-
# Normalizes architecture information that we receive.
|
232
|
-
#
|
233
|
-
# @param [String] architecture
|
234
|
-
#
|
235
|
-
# @return String [architecture]
|
236
|
-
def normalize_architecture(architecture)
|
237
|
-
if %w{ sun4u sun4v }.include?(architecture)
|
238
|
-
architecture = "sparc"
|
239
|
-
end
|
240
|
-
|
241
|
-
architecture
|
242
|
-
end
|
243
228
|
end
|
244
229
|
end
|
245
230
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixlib-install
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom May
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: artifactory
|