aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb')
-rw-r--r--sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb b/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb
deleted file mode 100644
index 0165d36ef1..0000000000
--- a/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-interface = node['interfaces']['application']
-application_host = ''
-node['network']['interfaces'][interface][:addresses].each do | addr , details |
- if details['family'] == ('inet')
- application_host = addr
- end
-end
-
-template "/var/lib/ready-probe.sh" do
- source "ready-probe.sh.erb"
- sensitive true
- mode 0755
- variables({
- :cassandra_ip => application_host,
- :cassandra_pwd => ENV['CS_PASSWORD'],
- :cassandra_port => node['cassandra']['cassandra_port']
- })
-end \ No newline at end of file