aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2019-04-14 12:41:54 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2019-04-14 12:41:54 +0300
commitb08309847c24bd3c060839a335a20cb3f750ed30 (patch)
treea4d87f251d14dabb769987f3e5b3214861d2fc8b /asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb
parent962b8610448d6cec8f12045e09b4adac3aefbf4c (diff)
Revert "Upgrade SDC to use common cassandra cluster"
This reverts commit 00a6a4d66b0d22d530314816b4b5697fbc975e37. Change-Id: I308844556aea66e91064d9067e3ba54179a0bb46 Issue-ID: SDC-2199 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb')
-rw-r--r--asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb
index a516c7108b..c9a4087671 100644
--- a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb
+++ b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb
@@ -5,7 +5,7 @@ template "/tmp/create_dox_keyspace.sh" do
variables({
:cassandra_ip => node['Nodes']['CS'].first,
:cassandra_port => node['cassandra']['cassandra_port'],
- :DC_NAME => node['cassandra']['datacenter_name'],
+ :DC_NAME => node['cassandra']['datacenter_name']+node.chef_environment,
:cassandra_pwd => node['cassandra'][:cassandra_password],
:cassandra_usr => node['cassandra'][:cassandra_user]
})