mixlib-install 3.12.16 → 3.12.19
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/Gemfile +4 -4
- data/Rakefile +1 -1
- data/lib/mixlib/install/generator/bourne/scripts/platform_detection.sh +8 -3
- 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: 19d5dda94374a1b0fe5e627f460c40dece9c0b2309dfda3fcb9a9ade5f62465c
|
|
4
|
+
data.tar.gz: 673be23ef2a7b4f34cc308a9995ff8a731b65ff958b8336bacdea3e1be516ce7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3444cbf76a4eae7dcd9345d082dd362124180df65059ea225d85dd6544665a129a23bd3c95b97da39fd0427de8896d7a081e518e4589cb12afe0629966180123
|
|
7
|
+
data.tar.gz: 17fca79670b37d4f2983d387acd022e9576ee29d7220e61b52bb65d53d0d71342fb5106f4dc51e64dce7ea99524700056d4d87bf9c71980824ea56d7645eeb1b
|
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
|
@@ -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.19
|
|
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-06-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mixlib-shellout
|