Allow custom plugins in SDC
[sdc.git] / catalog-fe / sdc-frontend / chef-repo / cookbooks / sdc-catalog-fe / recipes / FE_2_setup_configuration.rb
1 template "catalog-fe-config" do
2    path "#{ENV['JETTY_BASE']}/config/catalog-fe/configuration.yaml"
3    source "FE-configuration.yaml.erb"
4    owner "jetty"
5    group "jetty"
6    mode "0755"
7    variables({
8       :fe_host_ip   => node['FE_VIP'],
9       :be_host_ip   => node['BE_VIP'],
10       :kb_host_ip   => node['Nodes']['KB'],
11       :catalog_port => node['BE'][:http_port],
12       :ssl_port     => node['BE'][:https_port],
13       :dcae_fe_vip  => node['DCAE_FE_VIP']
14    })
15 end
16
17 template "onboarding-fe-config" do
18     path "#{ENV['JETTY_BASE']}/config/onboarding-fe/onboarding_configuration.yaml"
19     source "FE-onboarding-configuration.yaml.erb"
20     owner "jetty"
21     group "jetty"
22     mode "0755"
23 end