aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-backend/chef-repo
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2017-08-08 15:13:29 +0300
committerIdan Amit <ia096e@intl.att.com>2017-08-08 15:13:29 +0300
commit8950b158bd9f5994bf266e0d6da13be2223e38c1 (patch)
treef97b98af34affa88fb1a87b31de500ff0dd1f3ac /sdc-os-chef/sdc-backend/chef-repo
parentb331b88c509df9e8e54530277b741855d1b91d68 (diff)
[DevOps] - Creating etc folder for
jetty base Change-Id: I921cc0b5a30c6736be52cdd9ee94cc18f5dbd814 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'sdc-os-chef/sdc-backend/chef-repo')
-rw-r--r--sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb b/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
index d76e95de1d..ac1614a253 100644
--- a/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
+++ b/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb
@@ -52,7 +52,14 @@ cookbook_file "ArtifactGenerator" do
mode "0755"
end
-
+directory "Jetty_etcdir_creation" do
+ path "/#{jetty_base}/etc"
+ owner 'jetty'
+ group 'jetty'
+ mode '0755'
+ action :create
+end
+
cookbook_file "/#{jetty_base}/etc/keystore" do
source "keystore"
owner "jetty"