mixlib-install 3.12.27 → 3.12.29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e807ec64e9da12dc21ca71215bdd2656bba61eaef25ab2127aa634499fd859aa
4
- data.tar.gz: 555a9989fef41603f66799100bef4f2585f6e1061d5a940bdcb1de0ddaad07a1
3
+ metadata.gz: 92e948dd67aaf9f9ac49530be49484aa599747fa591c9ac8dfed7e51f8d3e696
4
+ data.tar.gz: a4096ef9b71a04a2346ec43ab78a24b0abe6d2d5f6e4f987fc620bc2a135647e
5
5
  SHA512:
6
- metadata.gz: 0e060c6e74ede460af3867a5ce8e87a7c6ef5abd405a5cb03078ce8b4aff485357057795384a1cdf8627a3c933f1327fc6c1d7505f3a6419578c8328bd1b5e8b
7
- data.tar.gz: fca7659a85130c89bab4a81c8502001cb87f637a4b4b6116f329a4f32591a2837552f9e8fcd59afc74ac07fe9c88d4b743cef17d5e647a1f988522b8eb0c1463
6
+ metadata.gz: ee8131db16c5faeba9e3557e6bf2a7bcbcb96f11378beb4164eb7f4d654a99a7f3cf1e36f746d3e42507560c2e4b881a5f7a51c7fd80658e83b47f25bbf9ec04
7
+ data.tar.gz: 84d046f4ba71a20a6ee9fbc6f0e125bce5fc1c03735884c75dbe6ac00868f422aac1530071747cea0e4c9ac7c851f5a1cec0faecbb0d09c59704d486d8aa5aae
@@ -46,8 +46,14 @@ elif test -f "/etc/Eos-release"; then
46
46
  elif test -f "/etc/redhat-release"; then
47
47
  platform=`sed 's/^\(.\+\) release.*/\1/' /etc/redhat-release | tr '[A-Z]' '[a-z]'`
48
48
  platform_version=`sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release`
49
-
50
- if test "$platform" = "xenserver"; then
49
+
50
+ if test "$platform" = "rocky linux"; then
51
+ source /etc/os-release
52
+ os="${REDHAT_SUPPORT_PRODUCT}"
53
+ platform_version="${ROCKY_SUPPORT_PRODUCT_VERSION}"
54
+ platform=$ID
55
+
56
+ elif test "$platform" = "xenserver"; then
51
57
  # Current XenServer 6.2 is based on CentOS 5, platform is not reset to "el" server should handle response
52
58
  platform="xenserver"
53
59
  else
@@ -62,20 +68,25 @@ elif test -f "/etc/system-release"; then
62
68
  . /etc/os-release
63
69
  platform_version=$VERSION_ID
64
70
 
65
- if test "$platform_version" = "2022"; then
66
- platform="amazon"
67
- platform_version="2022"
68
- elif test "$platform_version" = "2"; then
69
- platform="el"
70
- platform_version="7"
71
- else
72
- platform="el"
73
-
74
- # VERSION_ID will match YYYY.MM for Amazon Linux AMIs
75
- platform_version="6"
76
- fi
71
+ case $platform_version in
72
+ "2022"|"2023")
73
+ platform="amazon"
74
+ platform_version=$platform_version
75
+ ;;
76
+ "2")
77
+ platform="el"
78
+ platform_version="7"
79
+ ;;
80
+ "*")
81
+ platform="el"
82
+
83
+ # VERSION_ID will match YYYY.MM for Amazon Linux AMIs
84
+ platform_version="6"
85
+ ;;
86
+ esac
77
87
  esac
78
88
 
89
+
79
90
  # Apple macOS
80
91
  elif test -f "/usr/bin/sw_vers"; then
81
92
  platform="mac_os_x"
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.12.27"
3
+ VERSION = "3.12.29"
4
4
  end
5
5
  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: 3.12.27
4
+ version: 3.12.29
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: 2023-01-18 00:00:00.000000000 Z
12
+ date: 2024-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout