aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates
diff options
context:
space:
mode:
authorAreli, Fuss (af732p) <af732p@att.com>2018-04-09 18:15:42 +0300
committerMichael Lando <ml636r@att.com>2018-04-11 08:40:56 +0000
commit9d525f580b866778dc3417a06d98b96c70857efe (patch)
tree2e9d57d25c28f52857185e86f3d38e4b0c8183c2 /catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates
parente2eef606174e0f996cdfb5590d1bd5f61b28731c (diff)
Replace ssl configuration
Replace ssl configuration from hardcoded into variable Change-Id: I1e393d311940944060d3f3f4e1093ee96eece777 Issue-ID: SDC-1176 Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
Diffstat (limited to 'catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb6
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-titan.properties.erb6
2 files changed, 6 insertions, 6 deletions
diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
index 9bb4c33dec..6ed6406191 100644
--- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
+++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
@@ -77,9 +77,9 @@ cassandraConfig:
authenticate: true
username: <%= @cassandra_usr %>
password: <%= @cassandra_pwd %>
- ssl: false
- truststorePath : /config/.truststore
- truststorePassword : Aa123456
+ ssl: <%= @cassandra_ssl_enabled %>
+ truststorePath : /config/truststore
+ truststorePassword : <%= @cassandra_traststore_password %>
keySpaces:
- { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
- { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-titan.properties.erb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-titan.properties.erb
index cf885e62bb..cc518ad1b2 100644
--- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-titan.properties.erb
+++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-titan.properties.erb
@@ -6,9 +6,9 @@ storage.password=<%= @CASSANDRA_PWD %>
storage.connection-timeout=<%= @titan_connection_timeout %>
storage.cassandra.keyspace=sdctitan
-storage.cassandra.ssl.enabled=false
-storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/.truststore
-storage.cassandra.ssl.truststore.password=Aa123456
+storage.cassandra.ssl.enabled=<%= @cassandra_ssl_enabled %>
+storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/truststore
+storage.cassandra.ssl.truststore.password=<%= @cassandra_traststore_password %>
storage.cassandra.read-consistency-level=LOCAL_QUORUM
storage.cassandra.write-consistency-level=LOCAL_QUORUM