Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fixes to docker run
[sdc.git]
/
catalog-be
/
sdc-backend-init
/
chef-repo
/
cookbooks
/
sdc-catalog-be-setup
/
recipes
/
2_check_Backend.rb
1
template "/tmp/check_Backend_Health.py" do
2
source "check_Backend_Health.py.erb"
3
sensitive true
4
mode 0755
5
variables({
6
:be_ip => node['Nodes']['BE']
7
})
8
end
9
10
bash "excuting-check_Backend_Health" do
11
code <<-EOH
12
python /tmp/check_Backend_Health.py
13
rc=$?
14
if [[ $rc != 0 ]]; then exit $rc; fi
15
EOH
16
end