Jira (FACT-2256) Do not raise if /proc/sys/crypto/fips_enabled is absent

4 views
Skip to first unread message

Gabriel Nagy (JIRA)

unread,
Dec 17, 2019, 1:11:03 PM12/17/19
to puppe...@googlegroups.com
Gabriel Nagy created an issue
 
Facter / Bug FACT-2256
Do not raise if /proc/sys/crypto/fips_enabled is absent
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/12/17 10:10 AM
Priority: Normal Normal
Reporter: Gabriel Nagy

Currently, the fips_resolver on facter-ng raises with ENOENT if File.read cannot find /proc/sys/crypto/fips_enabled, and the Facter run ends. If we can't find that file, we should assume that fips_enabled is false.

Relevant code bit: https://github.com/puppetlabs/facter-ng/blob/master/lib/resolvers/fips_enabled_resolver.rb#L21

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages