Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | template "/tmp/create_cassandra_user.sh" do |
2 | source "create_cassandra_user.sh.erb" | ||||
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 3 | sensitive true |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 4 | mode 0755 |
5 | variables({ | ||||
6 | :cassandra_ip => "HOSTIP" | ||||
7 | }) | ||||
8 | end | ||||
9 | |||||
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 10 | |
11 | bash "create-sdc-user" do | ||||
12 | code <<-EOH | ||||
13 | cd /tmp ; /tmp/create_cassandra_user.sh | ||||
14 | EOH | ||||
15 | end |