blob: 2eb6d58cc36aaf95d4c6d658d542a5898419f378 [file] [log] [blame]
Yuli Shlosberg0875ce02018-01-25 13:53:36 +02001template "/tmp/create_cassandra_user.sh" do
2 source "create_cassandra_user.sh.erb"
3 sensitive true
4 mode 0755
5 variables({
6 :cassandra_ip => node['Nodes']['CS'],
7 :cassandra_pwd => ENV['CS_PASSWORD'],
8 :sdc_usr => ENV['SDC_USER'],
9 :sdc_pwd => ENV['SDC_PASSWORD']
10 })
11end
12
13
14bash "create-sdc-user" do
15 code <<-EOH
16 cd /tmp ; /tmp/create_cassandra_user.sh
17 EOH
18end