blob: 1ebc80d5e4c4cc3e253890556080db652d0d2494 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001template "/tmp/create_cassandra_user.sh" do
2 source "create_cassandra_user.sh.erb"
Michael Landoed64b5e2017-06-09 03:19:04 +03003 sensitive true
Michael Lando451a3402017-02-19 10:28:42 +02004 mode 0755
5 variables({
6 :cassandra_ip => "HOSTIP"
7 })
8end
9
Michael Landoed64b5e2017-06-09 03:19:04 +030010
11bash "create-sdc-user" do
12 code <<-EOH
13 cd /tmp ; /tmp/create_cassandra_user.sh
14 EOH
15end