VoltE fix - latest VNF's
[sdc.git] / sdc-os-chef / sdc-backend / chef-repo / cookbooks / sdc-normatives / recipes / import_Normatives.rb
1 cookbook_file "/tmp/normatives.tar.gz" do
2    source "normatives.tar.gz"
3 end
4
5 working_directory =  "/tmp"
6
7 bash "import-normatives" do
8   cwd "#{working_directory}"
9   code <<-EOH
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
15   EOH
16 end
17