blob: 22ef07907dd66e05b2cd67a1cd3127e3b7c087fc [file] [log] [blame]
Yuli Shlosberg0875ce02018-01-25 13:53:36 +02001template "/tmp/change_cassandra_pass.sh" do
2 source "change_cassandra_pass.sh.erb"
3 sensitive true
4 mode 0755
5 variables({
6 :cassandra_ip => node['Nodes']['CS'],
7 :cassandra_pwd => ENV['CS_PASSWORD']
8 })
9end
10
11
12bash "change-cassandra-pass" do
13 code <<-EOH
14 cd /tmp ; /tmp/change_cassandra_pass.sh
15 EOH
16end