Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Run pods as non-root user
[sdc.git]
/
catalog-be
/
sdc-backend
/
chef-repo
/
cookbooks
/
sdc-catalog-be
/
recipes
/
BE_9_prepareProbeFile.rb
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 "/var/lib/jetty/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