commit | f454e706d5e40bd014eb3a54acdd9fed112e0da5 | [log] [tgz] |
---|---|---|
author | mahendrr <mahendra.raghuwanshi@amdocs.com> | Thu Apr 18 10:39:30 2019 +0000 |
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | Tue Apr 30 18:51:18 2019 +0000 |
tree | 88aaf08e00b437b84c8b1ba79f880d82cde516d8 | |
parent | 20d930a11a1a08722bde76378696e7fae1ba1e5e [diff] [blame] |
Upgrade SDC to use common cassandra cluster Change-Id: Ib6a45de3b10cb57466b7b3ef2e18b2fe07639c0f Issue-ID: SDC-2199 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
diff --git a/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/01-configureCassandra.rb b/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/01-configureCassandra.rb index 47ab456..5b05e9b 100644 --- a/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/01-configureCassandra.rb +++ b/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/01-configureCassandra.rb
@@ -1,5 +1,5 @@ cluster_name = '' -cluster_name = node['cassandra'][:cluster_name]+node.chef_environment +cluster_name = node['cassandra'][:cluster_name] cas_ips='' cas_ips=node['Nodes'][:CS] @@ -45,7 +45,7 @@ group "cassandra" mode "0755" variables ({ - :dc => cluster_name, - :rack => "Rack"+"#{rackNum}-"+node.chef_environment + :dc => node['cassandra']['datacenter_name'], + :rack => "Rack"+"#{rackNum}" }) -end \ No newline at end of file +end