blob: 2eb6d58cc36aaf95d4c6d658d542a5898419f378 [file] [log] [blame]
template "/tmp/create_cassandra_user.sh" do
source "create_cassandra_user.sh.erb"
sensitive true
mode 0755
variables({
:cassandra_ip => node['Nodes']['CS'],
:cassandra_pwd => ENV['CS_PASSWORD'],
:sdc_usr => ENV['SDC_USER'],
:sdc_pwd => ENV['SDC_PASSWORD']
})
end
bash "create-sdc-user" do
code <<-EOH
cd /tmp ; /tmp/create_cassandra_user.sh
EOH
end