summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-08-07 19:54:49 +0300
committerTal Gitelman <tg851x@intl.att.com>2017-08-07 19:54:49 +0300
commitc306dd79597e870053bfe35e970b59dec7ba5f2e (patch)
tree6f2468aed0e3a92b308105c02e898f96400cd738 /sdc-os-chef
parentba229230144f00d35d55e31a80ca2576bd831448 (diff)
[sdc] sync
Change-Id: Idcff5f6315dad556d34d346501608f6567ffbd67 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'sdc-os-chef')
-rw-r--r--sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb5
1 files changed, 3 insertions, 2 deletions
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"