blob: 39fc5af883759bec23956b6e4f2828b3c9e62c06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clusterName = node['elasticsearch'][:cluster_name]+node.chef_environment
node_name = node[:hostname]
template "elasticsearch.yml-config" do
path "/var/lib/jetty/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
|