X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ca0e23852a9523282075fe78076b2deeca69ee53..f1fd88c6c91dc9119d630bd48eb02c90ebb41e09:/cookbooks/web/recipes/cgimap.rb diff --git a/cookbooks/web/recipes/cgimap.rb b/cookbooks/web/recipes/cgimap.rb index d2dbb7a3b..1ab1045f2 100644 --- a/cookbooks/web/recipes/cgimap.rb +++ b/cookbooks/web/recipes/cgimap.rb @@ -28,7 +28,7 @@ end if node[:web][:readonly_database_host] database_host = node[:web][:readonly_database_host] - database_readonly = node[:web][:readonly_database_host] != node[:web][:database_host] + database_readonly = true else database_host = node[:web][:database_host] database_readonly = node[:web][:status] == "database_readonly"