mixlib-install 3.12.15 → 3.12.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/Rakefile +1 -1
- data/lib/mixlib/install/generator/bourne/scripts/fetch_package.sh +1 -1
- data/lib/mixlib/install/generator/bourne/scripts/platform_detection.sh +8 -3
- data/lib/mixlib/install/generator/powershell/scripts/helpers.ps1.erb +1 -1
- data/lib/mixlib/install/version.rb +1 -1
- 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: 3b7e852271e0ff401f9ecd64f0713df06223310306fcab1bc2ea7f20d155da4f
|
4
|
+
data.tar.gz: 4cf638db66178b2436dcec6f35a55965af55686df9957d7382fcd91c206e2e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2b192a68c026200b142ed7e4d9c99bb8f5a133330613abe756bff5aab6a38f1f76e3e418c6f8fd0f277acfcab1cc4375cd418e41afe097f59f50d13bd6ad485
|
7
|
+
data.tar.gz: 1a2781e80f15c58942a06874cf5eb3f534dec47ead6121ea7eaf63b9e0de46b1e8893ec04d8c77a509b258bfaa69eca7395839fd8b3fb568c64ea1377182de46
|
data/Gemfile
CHANGED
@@ -7,16 +7,16 @@ gem "chef-utils", "= 16.6.14" if RUBY_VERSION < "2.6.0"
|
|
7
7
|
group :test do
|
8
8
|
gem "rake"
|
9
9
|
gem "rspec"
|
10
|
-
gem "vcr"
|
11
10
|
gem "webrick"
|
12
11
|
gem "webmock", "~> 3.4"
|
13
|
-
gem "aruba", "~> 0.14"
|
14
|
-
gem "cucumber", "~> 1.3.20"
|
15
12
|
gem "contracts", "~> 0.16.0" # this entry can go away when ruby < 3 support is gone
|
16
|
-
if RUBY_VERSION < "2.
|
13
|
+
if RUBY_VERSION < "2.6.0"
|
17
14
|
gem "climate_control", "= 0.1.0"
|
15
|
+
gem "vcr", "= 6.0.0"
|
16
|
+
gem "mixlib-shellout", "= 3.2.5"
|
18
17
|
else
|
19
18
|
gem "climate_control", "~> 1.0"
|
19
|
+
gem "vcr"
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
# $filetype: Type of the file downloaded.
|
15
15
|
############
|
16
16
|
|
17
|
-
filename=`echo $download_url | sed -e 's/?.*//'
|
17
|
+
filename=`echo $download_url | sed -e 's/?.*//' | sed -e 's/^.*\///'`
|
18
18
|
filetype=`echo $filename | sed -e 's/^.*\.//'`
|
19
19
|
|
20
20
|
# use either $tmp_dir, the provided directory (-d) or the provided filename (-f)
|
@@ -59,13 +59,18 @@ elif test -f "/etc/system-release"; then
|
|
59
59
|
platform=`sed 's/^\(.\+\) release.\+/\1/' /etc/system-release | tr '[A-Z]' '[a-z]'`
|
60
60
|
platform_version=`sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/system-release | tr '[A-Z]' '[a-z]'`
|
61
61
|
case $platform in amazon*) # sh compat method of checking for a substring
|
62
|
-
platform="el"
|
63
|
-
|
64
62
|
. /etc/os-release
|
65
63
|
platform_version=$VERSION_ID
|
66
|
-
|
64
|
+
|
65
|
+
if test "$platform_version" = "2022"; then
|
66
|
+
platform="amazon"
|
67
|
+
platform_version="2022"
|
68
|
+
elif test "$platform_version" = "2"; then
|
69
|
+
platform="el"
|
67
70
|
platform_version="7"
|
68
71
|
else
|
72
|
+
platform="el"
|
73
|
+
|
69
74
|
# VERSION_ID will match YYYY.MM for Amazon Linux AMIs
|
70
75
|
platform_version="6"
|
71
76
|
fi
|
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: 3.12.
|
4
|
+
version: 3.12.20
|
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:
|
12
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mixlib-shellout
|