Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
51e69ae7a9064a1f95e650ab23df4f4e386d3d90
[sdc.git]
/
1
if node[:disableHttp]
2
protocol = "https"
3
port = "#{node['BE'][:https_port]}"
4
else
5
protocol = "http"
6
port = "#{node['BE'][:http_port]}"
7
end
8
9
template "#{ENV['JETTY_BASE']}/ready-probe.sh" do
10
source "ready-probe.sh.erb"
11
sensitive true
12
mode 0755
13
variables({
14
:protocol => protocol,
15
:port => port
16
})
17
end