diff options
Diffstat (limited to 'qa/qa/support/fips.rb')
-rw-r--r-- | qa/qa/support/fips.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qa/qa/support/fips.rb b/qa/qa/support/fips.rb new file mode 100644 index 00000000000..f5ebce4fa9c --- /dev/null +++ b/qa/qa/support/fips.rb @@ -0,0 +1,14 @@ +# rubocop: disable Naming/FileName +# frozen_string_literal: true + +module QA + module Support + class FIPS + def self.enabled? + %(1 true yes).include?(ENV['FIPS'].to_s) + end + end + end +end + +# rubocop: enable Naming/FileName |