summaryrefslogtreecommitdiff
path: root/chef-config/lib/chef-config/fips.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-config/lib/chef-config/fips.rb')
-rw-r--r--chef-config/lib/chef-config/fips.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/fips.rb b/chef-config/lib/chef-config/fips.rb
index 623ce87686..4c365301d5 100644
--- a/chef-config/lib/chef-config/fips.rb
+++ b/chef-config/lib/chef-config/fips.rb
@@ -21,7 +21,7 @@ module ChefConfig
def self.fips?
if ChefConfig.windows?
begin
- require "win32/registry"
+ require "win32/registry" unless defined?(Win32::Registry)
rescue LoadError
return false
end