blob: 81e1a855f49c44084f2fe21fe347f3a092ccffc4 (
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['BE'][:https_port]}"
else
protocol = "http"
port = "#{node['BE'][:http_port]}"
end
template "/var/lib/jetty/ready-probe.sh" do
source "ready-probe.sh.erb"
sensitive true
mode 0755
variables({
:protocol => protocol,
:port => port
})
end
|