mixlib-install 3.11.2 → 3.11.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9a606a7e28832772a38e93bebd0436065203a9a5a1e519c7f653ff3f3d9a807
4
- data.tar.gz: 46c71526acee3e61cff2117847b62487b41bb2b05b0e2c228944d76fc3a22a64
3
+ metadata.gz: d850766fa7c4d79a4f76479938b337a4c574cffddd3ae03656f76769b23dd3d6
4
+ data.tar.gz: 7050b957d09ca7a9dee51ba33456fb6e4cd26f5abd7dd5fffc71d4380fb2068b
5
5
  SHA512:
6
- metadata.gz: d1035dd59c985003766ea3fdb26b4b5f1d98ea4b9d15ea82a3308ec668733b5717f76cfe63e329a61c68afcb11a50de08a2b816c76fe5213eec2522307a2cba3
7
- data.tar.gz: 5f4c7f9e1079283dbeaf30483c48e73ff720889a39bb829de4193e47b46c96c25b78fd15864a6758d272a4eda482cb1dce0dd746de55c9739bebea63b77881e4
6
+ metadata.gz: 7e3606a15f01ce5f49f124fe1dfa7ba08cd9f77bd41ca33dc8cd7b1bfacbb841d9cf4ca6e113252fb13096aa093d0ea8dd91513b3fba7a10a30d4e9100ff781a
7
+ data.tar.gz: 4d319ceea262f9ce4a6c7ff96ea94766bad936578e4436cc5efcdf1598ce1d7802da15bd163d53827487110cce1428835451869fcfa7e0c9401e7caeee0ac431
@@ -59,11 +59,15 @@ 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
- # use the version value out of /etc/os-release if available since it isn't regex fragile
63
- platform="amazon"
64
- if test -f "/etc/os-release"; then
65
- . /etc/os-release
66
- platform_version=$VERSION_ID
62
+ platform="el"
63
+
64
+ . /etc/os-release
65
+ platform_version=$VERSION_ID
66
+ if test "$platform_version" = "2"; then
67
+ platform_version="7"
68
+ else
69
+ # VERSION_ID will match YYYY.MM for Amazon Linux AMIs
70
+ platform_version="6"
67
71
  fi
68
72
  esac
69
73
 
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.11.2"
3
+ VERSION = "3.11.5"
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.11.2
4
+ version: 3.11.5
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: 2018-07-09 00:00:00.000000000 Z
12
+ date: 2018-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout