blob: bf859f13a384ad0ee82bd4a4f7b9cd6f8090c63c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
if ENV['FE_URL'] && !ENV['FE_URL'].empty?
fe_url="#{ENV['FE_URL']}"
elsif node['disableHttp']
fe_url="https://#{node['Nodes']['FE']}:#{node['FE'][:https_port]}"
else
fe_url="http://#{node['Nodes']['FE']}:#{node['FE'][:http_port]}"
end
template "webseal.conf" do
path "#{ENV['JETTY_BASE']}/config/sdc-simulator/webseal.conf"
source "SDC-Simulator-webseal.conf.erb"
owner "jetty"
group "jetty"
mode "0755"
variables({
:fe_url =>"#{fe_url}"
})
end
|