blob: 29715177be83d10f0c3704b6904dd6718dc64c25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clusterName = node['elasticsearch'][:cluster_name]+node.chef_environment
template "elasticsearch.yml-config" do
path "#{ENV['JETTY_BASE']}/config/elasticsearch.yml"
source "BE-elasticsearch.yml.erb"
owner "jetty"
group "jetty"
mode "0755"
variables({
:cluster_name => "#{clusterName}",
:es_host_ip => node['Nodes']['ES']
})
end
|