diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-22 15:20:24 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-25 09:54:21 -0800 |
commit | 242eb86fbb1cd2d34126421214cd790614f7caee (patch) | |
tree | abef76ce0f82da2396863d802ff829ce0851f702 /spec | |
parent | 2bcb7d06dcb49c953b9e666b24c8bd3cb56da2c5 (diff) | |
download | chef-242eb86fbb1cd2d34126421214cd790614f7caee.tar.gz |
Do openssl initialization in chef-fips test pipeline
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 378381ddcc..34716e5fd8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -67,6 +67,10 @@ require "chef/util/file_edit" require "chef/config" +if ENV["CHEF_FIPS"] == "1" + Chef::Config.init_openssl +end + # If you want to load anything into the testing environment # without versioning it, add it to spec/support/local_gems.rb require "spec/support/local_gems.rb" if File.exists?(File.join(File.dirname(__FILE__), "support", "local_gems.rb")) |