+include_recipe "apt"
+
+package "default-jre-headless"
+package "elasticsearch"
+
+template "/etc/elasticsearch/elasticsearch.yml" do
+ source "elasticsearch.yml.erb"
+ user "root"
+ group "root"
+ mode "644"
+ notifies :restart, "service[elasticsearch]"