1 jetty_base="/var/lib/jetty"
4 template "titan.properties" do
5 path "/#{jetty_base}/config/catalog-be/titan.properties"
6 source "BE-titan.properties.erb"
11 :CASSANDRA_IP => node['Nodes']['CS'],
12 :CASSANDRA_PWD => node['cassandra'][:cassandra_password],
13 :CASSANDRA_USR => node['cassandra'][:cassandra_user],
14 :rep_factor => replication_factor,
15 :DC_NAME => node['cassandra'][:cluster_name]+node.chef_environment
20 template "catalog-be-config" do
21 path "/#{jetty_base}/config/catalog-be/configuration.yaml"
22 source "BE-configuration.yaml.erb"
27 :host_ip => node['HOST_IP'],
28 :catalog_port => node['BE'][:http_port],
29 :ssl_port => node['BE'][:https_port],
30 :cassandra_ip => node['Nodes']['CS'],
32 :DC_NAME => node['cassandra'][:cluster_name]+node.chef_environment,
33 :titan_Path => "/var/lib/jetty/config/catalog-be/"
38 template "distribution-engine-configuration" do
39 path "/#{jetty_base}/config/catalog-be/distribution-engine-configuration.yaml"
40 source "BE-distribution-engine-configuration.yaml.erb"
47 cookbook_file "ArtifactGenerator" do
48 path "/#{jetty_base}/config/catalog-be/Artifact-Generator.properties"
49 source "Artifact-Generator.properties"
56 template "VnfrepoConfiguration" do
57 path "/#{jetty_base}/config/onboarding-be/config-vnfsdk.yaml"
58 source "BE-vnfrepo-configuration.yaml.erb"
63 :VNFREPO_IP => node['VnfRepo']['vnfRepoHost'],
64 :VNFREPO_PORT => node['VnfRepo']['vnfRepoPort']