summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe
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-frontend/chef-repo/cookbooks/sdc-catalog-fe
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-frontend/chef-repo/cookbooks/sdc-catalog-fe')
-rw-r--r--sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_7_locate_keystore.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_7_locate_keystore.rb b/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_7_locate_keystore.rb
index 91a819adfe..bdf0d37b28 100644
--- a/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_7_locate_keystore.rb
+++ b/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_7_locate_keystore.rb
@@ -1,4 +1,13 @@
jetty_base="/var/lib/jetty"
+
+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"