ohai 14.1.2 → 14.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ohai/plugins/linux/fips.rb +2 -2
- data/lib/ohai/plugins/windows/fips.rb +2 -2
- data/lib/ohai/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: f0d127f53f35ebe9ab1838c040de1626c5638ac4e08f0910a8e5af589a52d53a
|
4
|
+
data.tar.gz: ec026cfc55f548397ad564d4d3da4ac54fb48d9e52bb0d8692342e530cb9cebc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31fec306f6f93864c268cf3658d59b8a16cecf02955dcb84ce3700bd0433baa65d75c0a27a3e9535a6dcd049ae073c7e142f1607ae58852304d0beac616bdba7
|
7
|
+
data.tar.gz: '09a81b953995ad886fa39c886cf40506e0ff8491be6fc660e349969f01f4463468b963cf4ac30194a040f4f46ab4f90a279502ec01930fb216dfe73edeeb5a56'
|
@@ -31,8 +31,8 @@ Ohai.plugin(:Fips) do
|
|
31
31
|
# Check for new fips_mode method added in Ruby 2.5. After we drop support
|
32
32
|
# for Ruby 2.4, clean up everything after this and collapse the FIPS plugins.
|
33
33
|
require "openssl"
|
34
|
-
if defined?(OpenSSL.fips_mode) && !$FIPS_TEST_MODE
|
35
|
-
fips["kernel"] = { "enabled" =>
|
34
|
+
if defined?(OpenSSL.fips_mode) && OpenSSL.fips_mode && !$FIPS_TEST_MODE
|
35
|
+
fips["kernel"] = { "enabled" => true }
|
36
36
|
else
|
37
37
|
begin
|
38
38
|
enabled = File.read("/proc/sys/crypto/fips_enabled").chomp
|
@@ -31,8 +31,8 @@ Ohai.plugin(:Fips) do
|
|
31
31
|
# Check for new fips_mode method added in Ruby 2.5. After we drop support
|
32
32
|
# for Ruby 2.4, clean up everything after this and collapse the FIPS plugins.
|
33
33
|
require "openssl"
|
34
|
-
if defined?(OpenSSL.fips_mode) && !$FIPS_TEST_MODE
|
35
|
-
fips["kernel"] = { "enabled" =>
|
34
|
+
if defined?(OpenSSL.fips_mode) && OpenSSL.fips_mode && !$FIPS_TEST_MODE
|
35
|
+
fips["kernel"] = { "enabled" => true }
|
36
36
|
else
|
37
37
|
require "win32/registry"
|
38
38
|
# from http://msdn.microsoft.com/en-us/library/windows/desktop/aa384129(v=vs.85).aspx
|
data/lib/ohai/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ohai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.1.
|
4
|
+
version: 14.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: systemu
|