diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-14 13:00:03 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-14 13:00:03 -0700 |
commit | d1b103b48dcb6bea632092d1755be053e582b71a (patch) | |
tree | 72b45a6cb6ee3b33590e7ca5a00f4aa21ba678a1 | |
parent | e1d833a4098fc025a1749b5cb709c5cae13ba0cd (diff) | |
download | chef-d1b103b48dcb6bea632092d1755be053e582b71a.tar.gz |
remove unnecessary variable
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 7428a1f716..a4a5d9a77f 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -476,8 +476,8 @@ module ChefConfig # Path to the default CA bundle files. default :ssl_ca_path, nil default(:ssl_ca_file) do - if ChefConfig.windows? && (embedded_path = embedded_dir) - cacert_path = File.join(embedded_path, "ssl/certs/cacert.pem") + if ChefConfig.windows? && + cacert_path = File.join(embedded_dir, "ssl/certs/cacert.pem") cacert_path if File.exist?(cacert_path) else nil |