fix rubocop offence
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 17 Sep 2017 17:34:21 +0000 (19:34 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 17 Sep 2017 17:34:21 +0000 (19:34 +0200)
cookbooks/nominatim/recipes/default.rb

index 92ac516..b10c923 100644 (file)
@@ -177,7 +177,7 @@ git source_directory do
   enable_submodules true
   user "nominatim"
   group "nominatim"
-  not_if { node[:nominatim][:state] != "slave" and File.exist?("#{source_directory}/README.md") }
+  not_if { node[:nominatim][:state] != "slave" && File.exist?("#{source_directory}/README.md") }
   notifies :run, "execute[compile_nominatim]", :immediately
 end