Skip to content

Commit

Permalink
chef#3398: Fix for FIPS enabled in bookshelf using bookshelf s3 url w…
Browse files Browse the repository at this point in the history
…ith localhost setting in chef-server.rb
  • Loading branch information
srijitncoupa committed Jul 7, 2022
1 parent 5b22806 commit c6713e6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@
%%
%% This is the reason that the only supported configuration for the fips
%% package is standalone. We will allow http over localhost so that the
%% chef server can talk to bookshelf.
{s3_url, "http://<%= node['private_chef']['bookshelf']['listen'] %>:<%= node['private_chef']['bookshelf']['port'] %>"},
%% chef server can talk to bookshelf. We can give provide bookshelf['url'] = 'http://127.0.0.1:4321' for naking it work for FIPS enabled
%% {s3_url, "http://<%= node['private_chef']['bookshelf']['listen'] %>:<%= node['private_chef']['bookshelf']['port'] %>"},
{s3_url, "<%= @helper.bookshelf_s3_url %>"},
<% else -%>
{s3_url, "<%= @helper.bookshelf_s3_url %>"},
<% end %>
Expand Down

0 comments on commit c6713e6

Please sign in to comment.