Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
85ae99b847c72a9032af372cf2d63a5bc9aed8fc
[sdc.git]
/
catalog-fe
/
sdc-frontend
/
chef-repo
/
cookbooks
/
sdc-catalog-fe
/
recipes
/
FE_8_prepareProbeFile.rb
1
if node[:disableHttp]
2
protocol = "https"
3
port = "#{node['FE'][:https_port]}"
4
else
5
protocol = "http"
6
port = "#{node['FE'][:http_port]}"
7
end
8
9
template "/var/lib/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