]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/recipes/default.rb
Update carto stylesheet to v4.3.0
[chef.git] / cookbooks / elasticsearch / recipes / default.rb
index aaabe4c7489cedc56e844db82c4e26c8f2ab8f8d..a40d45ce22bf58d3125121f8f76decb07e855800 100644 (file)
 # limitations under the License.
 #
 
-package "openjdk-7-jre-headless"
-package "elasticsearch" do
-  action :install
+package "default-jre-headless"
+package "elasticsearch"
+
+template "/etc/elasticsearch/elasticsearch.yml" do
+  source "elasticsearch.yml.erb"
+  user "root"
+  group "root"
+  mode 0o644
+  notifies :restart, "service[elasticsearch]"
 end
 
 service "elasticsearch" do