diff options
author | Idan Amit <ia096e@intl.att.com> | 2017-08-08 15:13:29 +0300 |
---|---|---|
committer | Idan Amit <ia096e@intl.att.com> | 2017-08-08 15:13:29 +0300 |
commit | 8950b158bd9f5994bf266e0d6da13be2223e38c1 (patch) | |
tree | f97b98af34affa88fb1a87b31de500ff0dd1f3ac /sdc-os-chef | |
parent | b331b88c509df9e8e54530277b741855d1b91d68 (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')
2 files changed, 17 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" 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" |