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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2294a9254a6c0e4b3246ca4140573989896111b5abc5359219025753aa613219
4
- data.tar.gz: 100a7f711cb042d2773f013e01f3219d7d52cfff97889585b8e9b4f0f591786a
3
+ metadata.gz: f0d127f53f35ebe9ab1838c040de1626c5638ac4e08f0910a8e5af589a52d53a
4
+ data.tar.gz: ec026cfc55f548397ad564d4d3da4ac54fb48d9e52bb0d8692342e530cb9cebc
5
5
  SHA512:
6
- metadata.gz: 1fb35d4bcd12a53bf42bc59e704d2889f7c4023240c69c8d881616cdc792f8ab64d4686ec88ab8d0abb6eef29eb3628a76f66865d0f82d7f8b2028750603f205
7
- data.tar.gz: 03fa1c1404d4f96f027d3c5c289ed22484ceac6cca2679e87acc1f867ff9a55b7197ea40ad0c98f054f2a1630ce00b313ccf03559d084027fd1cde31676b4e4b
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" => OpenSSL.fips_mode }
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" => OpenSSL.fips_mode }
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
@@ -18,5 +18,5 @@
18
18
 
19
19
  module Ohai
20
20
  OHAI_ROOT = File.expand_path(File.dirname(__FILE__))
21
- VERSION = "14.1.2"
21
+ VERSION = "14.1.3"
22
22
  end
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.2
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-14 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: systemu