3 be_port = node['BE']['https_port']
6 be_port = node['BE']['http_port']
10 template "/var/tmp/user.py" do
15 :protocol => protocol,
16 :be_ip => node['Nodes']['BE'],
21 bash "executing-create_user" do
23 python /var/tmp/user.py
25 if [[ $rc != 0 ]]; then exit $rc; fi
29 template "/var/tmp/consumers.py" do
30 source "consumers.py.erb"
34 :protocol => protocol,
35 :be_ip => node['Nodes']['BE'],
40 bash "executing-consumers" do
42 python /var/tmp/consumers.py
44 if [[ $rc != 0 ]]; then exit $rc; fi