From c306dd79597e870053bfe35e970b59dec7ba5f2e Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Mon, 7 Aug 2017 19:54:49 +0300 Subject: [sdc] sync Change-Id: Idcff5f6315dad556d34d346501608f6567ffbd67 Signed-off-by: Tal Gitelman --- .../cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe') diff --git a/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb b/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb index 165d10c1f2..0ad5c0f356 100644 --- a/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb +++ b/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb @@ -1,5 +1,6 @@ +jetty_base="/var/lib/jetty" template "catalog-fe-config" do - path "/var/lib/jetty/config/catalog-fe/configuration.yaml" + path "#{jetty_base}/config/catalog-fe/configuration.yaml" source "FE-configuration.yaml.erb" owner "jetty" group "jetty" @@ -14,7 +15,7 @@ end template "onboarding-fe-config" do - path "/#{jetty_base}/config/onboarding-fe/onboarding_configuration.yaml" + path "#{jetty_base}/config/onboarding-fe/onboarding_configuration.yaml" source "FE-onboarding-configuration.yaml.erb" owner "jetty" group "jetty" -- cgit 1.2.3-korg