summaryrefslogtreecommitdiffstats
path: root/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb')
-rw-r--r--asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/01-createCsUser.rb9
1 files changed, 5 insertions, 4 deletions
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 d14e9a2232..84b0cb2b40 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 @@ template "/tmp/create_cassandra_user.sh" do
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