blob: 46bc80a0217f1d2793f9a430b1601e5fdb39c7e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if node[:disableHttp]
protocol = "https"
port = "#{node['FE'][:https_port]}"
else
protocol = "http"
port = "#{node['FE'][:http_port]}"
end
template "#{ENV['JETTY_BASE']}/ready-probe.sh" do
source "ready-probe.sh.erb"
sensitive true
mode 0755
variables({
:protocol => protocol,
:port => port
})
end
|