Skip to content

Commit

Permalink
[CLOUD-554] Fix bug in guard for populating consul .bashrc (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzant authored Apr 19, 2023
1 parent c87c669 commit 2375cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
echo "export CONSUL_HTTP_ADDR=https://127.0.0.1:#{node['consul']['http_api_port']}" >> .bashrc
echo "export CONSUL_TLS_SERVER_NAME=#{consul_tls_server_name}" >> .bashrc
EOH
not_if "grep CONSUL_TLS_SERVER_NAME #{node['consul']['home']}"
not_if "grep CONSUL_TLS_SERVER_NAME #{node['consul']['home']}/.bashrc"
end

template node['consul']['health-check']['retryable-check-file'] do
Expand Down

0 comments on commit 2375cba

Please sign in to comment.