From: Sarah Hoffmann Date: Fri, 30 Sep 2016 21:44:58 +0000 (+0200) Subject: fix rubocop warnings X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/4d86dbb9d70c3bbd09f71d56def2aadb5142ecd9 fix rubocop warnings --- diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 3f8b81459..2bf8e35de 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -20,14 +20,13 @@ basedir = data_bag_item("accounts", "nominatim")["home"] email_errors = data_bag_item("accounts", "lonvia")["email"] -directory "#{basedir}" do +directory basedir do owner "nominatim" group "nominatim" mode 0o755 recursive true end - directory node[:nominatim][:logdir] do owner "nominatim" group "nominatim"