X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0a7242618f9444f2d603ab4e92fb23536e919edf..090fe909149f22d158c859a7d4a9edfb523df2fb:/cookbooks/elasticsearch/recipes/default.rb diff --git a/cookbooks/elasticsearch/recipes/default.rb b/cookbooks/elasticsearch/recipes/default.rb index 3ade99c39..36858b77d 100644 --- a/cookbooks/elasticsearch/recipes/default.rb +++ b/cookbooks/elasticsearch/recipes/default.rb @@ -17,14 +17,16 @@ # limitations under the License. # -package "default-jre-headless" -package "elasticsearch" +package %w[ + default-jre-headless + elasticsearch +] template "/etc/elasticsearch/elasticsearch.yml" do source "elasticsearch.yml.erb" user "root" group "root" - mode 0644 + mode 0o644 notifies :restart, "service[elasticsearch]" end