diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-22 14:57:48 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-25 09:54:21 -0800 |
commit | 2610b7753f81ebf027fd07032551afa5bd7742ba (patch) | |
tree | 12637628ceb075531c77b70d9f73d9dd6190acca /chef-config | |
parent | 6e784ba749b543b13f667a2e267877f0d54141cb (diff) | |
download | chef-2610b7753f81ebf027fd07032551afa5bd7742ba.tar.gz |
Allow setting fips through environment variable
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index f352d754c6..a371af9738 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -452,7 +452,7 @@ module ChefConfig default :recipe_url, nil # Set to true if Chef is to set OpenSSL to run in FIPS mode - default :fips, false + default(:fips) { ENV['CHEF_FIPS'] == '1' } # Initialize openssl def self.init_openssl |