1 template "/tmp/user.py" do
6 :be_ip => node['Nodes']['BE'],
7 :be_port => node['BE']['http_port']
11 bash "excuting-create_user" do
15 if [[ $rc != 0 ]]; then exit $rc; fi
19 template "/tmp/consumers.py" do
20 source "consumers.py.erb"
24 :be_ip => node['Nodes']['BE'],
25 :be_port => node['BE']['http_port']
29 bash "excuting-consumers" do
31 python /tmp/consumers.py
33 if [[ $rc != 0 ]]; then exit $rc; fi