commit | c4d387d216e72911f80c1ebee91b73aba191b91b | [log] [tgz] |
---|---|---|
author | Tal Gitelman <tal.gitelman@att.com> | Thu Mar 28 11:00:54 2019 +0200 |
committer | Tal Gitelman <tal.gitelman@att.com> | Thu Apr 04 16:33:03 2019 +0300 |
tree | c12066b7a213d34ca7c84375fb4bb2d6f0b23138 | |
parent | ac3aca69dbeae29c9aeca2053adc7aedbb75e149 [diff] [blame] |
Make Cassandra port configurable. SDC-BE & Onboarding - BE. Reviewer: Evgenia A & Areli F. Change-Id: Iaf86d647b0560764ef65d9148c85bffaf934992d Issue-ID: SDC-2077 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
diff --git a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb index d14e9a2..84b0cb2 100644 --- a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb +++ b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb
@@ -3,10 +3,11 @@ sensitive true mode 0755 variables({ - :cassandra_ip => node['Nodes']['CS'].first, - :cassandra_pwd => ENV['CS_PASSWORD'], - :sdc_usr => ENV['SDC_USER'], - :sdc_pwd => ENV['SDC_PASSWORD'] + :cassandra_ip => node['Nodes']['CS'].first, + :cassandra_port => node['cassandra']['cassandra_port'], + :cassandra_pwd => ENV['CS_PASSWORD'], + :sdc_usr => ENV['SDC_USER'], + :sdc_pwd => ENV['SDC_PASSWORD'] }) end