]> git.openstreetmap.org Git - chef.git/commitdiff
fix rubocop warnings
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Sep 2016 21:44:58 +0000 (23:44 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 30 Sep 2016 21:44:58 +0000 (23:44 +0200)
cookbooks/nominatim/recipes/default.rb

index 3f8b814590a4b05ee2ff1ba350b72c5064782f6d..2bf8e35de9bd00311a69d88c529133d2496960e2 100644 (file)
 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"