1 cookbook_file "/tmp/normatives.tar.gz" do
2 source "normatives.tar.gz"
5 working_directory = "/tmp"
7 bash "import-normatives" do
8 cwd "#{working_directory}"
10 tar xvfz /tmp/normatives.tar.gz
11 cd normatives/scripts/import/tosca/
12 /bin/chmod +x importNormativeAll.py
13 # add --debug=true to the importNormativeAll.py arguments to enable debug
14 python importNormativeAll.py -i localhost > /var/lib/jetty/logs/importNormativeAll.log