lib/berkshelf/chef_config_compat.rb in berkshelf-7.0.7 vs lib/berkshelf/chef_config_compat.rb in berkshelf-7.0.8
- old
+ new
@@ -11,9 +11,10 @@
# @param [Hash] options
def initialize(path, options = {})
ChefConfig::WorkstationConfigLoader.new(path).load
ChefConfig::Config.merge!(options)
ChefConfig::Config.export_proxies # Set proxy settings as environment variables
+ ChefConfig::Config.init_openssl # setup openssl + fips mode
end
# Keep defaults that aren't in ChefConfig::Config
def cookbook_copyright(*args, &block)
ChefConfig::Config.cookbook_copyright(*args, &block) || "YOUR_NAME"