blob: 7bf9260c757b05878279522752390cbcf17503c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
url = "#{node['Webseal_URL']}"
be_vip = node['DCAE_BE_VIP']
fe_vip = node['DCAE_FE_VIP']
if node['disableHttp']
protocol = "https"
be_port = node['DCAE']['BE'][:https_port]
fe_port = node['DCAE']['FE'][:https_port]
else
protocol = "http"
be_port = node['DCAE']['BE'][:http_port]
fe_port = node['DCAE']['FE'][:http_port]
end
template "dcae-ci-tests-conf" do
sensitive true
path "/conf/conf.yaml"
source "conf.yaml.erb"
owner "dcae"
group "dcae"
mode "0755"
variables ({
:catalogbe_ip => be_vip,
:catalogbe_port => be_port,
:protocol => protocol,
:url => url,
:catalogfe_ip => fe_vip,
:catalogfe_port => fe_port
})
end
|