]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/recipes/default.rb
Use multipackage installs throughout
[chef.git] / cookbooks / elasticsearch / recipes / default.rb
index 3ade99c39b42401a3be97b9b087c1c5d79422865..36858b77de1ce36e76975a90a6af9846d7a7d5e0 100644 (file)
 # 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