nominatim: fix string format for state
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 10 Aug 2018 21:13:00 +0000 (23:13 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 10 Aug 2018 21:13:00 +0000 (23:13 +0200)
cookbooks/nominatim/recipes/default.rb

index 3c9ccbc61a5afa4f9d73736266d45c275343a45a..26766bb06e6f0852f2e5f0773c92d8681a4f29b3 100644 (file)
@@ -252,7 +252,7 @@ remote_file "#{source_directory}/data/country_osm_grid.sql.gz" do
 end
 
 template "/etc/cron.d/nominatim" do
-  action node[:nominatim][:state] == :off ? :delete : :create
+  action node[:nominatim][:state] == "off" ? :delete : :create
   source "nominatim.cron.erb"
   owner "root"
   group "root"