diff options
author | Michael Lando <ml636r@att.com> | 2017-08-31 14:49:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-31 14:49:14 +0000 |
commit | 075ebb1b04d69ab354b95cd15486383c03304f29 (patch) | |
tree | bec9950c885ced7c77b906b1248bf46141c9d6d9 /sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_10_import_Normatives.rb | |
parent | f114c70eb7611aad29550711dfa6c7f0accb3372 (diff) | |
parent | 6d7a7c1b6e82c92e37eb0b23b892418b82af026f (diff) |
Merge "Jetty default ssl certificate fix"
Diffstat (limited to 'sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_10_import_Normatives.rb')
-rw-r--r-- | sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_10_import_Normatives.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_10_import_Normatives.rb b/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_10_import_Normatives.rb new file mode 100644 index 0000000000..6e9b24133d --- /dev/null +++ b/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_10_import_Normatives.rb @@ -0,0 +1,16 @@ +cookbook_file "/tmp/normatives.tar.gz" do + source "normatives.tar.gz" +end + +working_directory = "/tmp" + +bash "import-normatives" do + cwd "#{working_directory}" + code <<-EOH + tar xvfz /tmp/normatives.tar.gz + cd scripts/import/tosca/ + /bin/chmod +x importNormativeAll.py + python importNormativeAll.py + EOH +end + |