1 be_ip=node['Nodes'][:BE]
5 be_port = node['BE']['https_port']
6 param="-i #{be_ip} -p #{be_port} --https"
9 be_port = node['BE']['http_port']
10 param="-i #{be_ip} -p #{be_port}"
13 cookbook_file "/var/tmp/normatives.tar.gz" do
14 source "normatives.tar.gz"
17 bash "executing-import_Normatives" do
22 tar -xvf normatives.tar.gz
24 # executing the normatives
25 # add --debug to the sdcinit command to enable debug
27 cd /var/tmp/normatives/import/tosca
28 sdcinit #{param} > /var/lib/jetty/logs/init.log
30 if [[ $rc != 0 ]]; then exit $rc; fi