From 41c52dd81080eb0a88e786966bed3fa6bac9cca5 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 13 Nov 2024 01:59:25 +0000 Subject: [PATCH] workaround temporary statuscake IP list failure --- cookbooks/tile/recipes/default.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index ddc7e490e..9b9f38930 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -60,7 +60,10 @@ end fastlyips = JSON.parse(IO.read("#{Chef::Config[:file_cache_path]}/fastly-ip-list.json")) remote_file "#{Chef::Config[:file_cache_path]}/statuscake-locations.json" do - source "https://app.statuscake.com/Workfloor/Locations.php?format=json" + # source "https://app.statuscake.com/Workfloor/Locations.php?format=json" + # FIXME: StatusCake IP lookup. Use manual backup source for now. 13 Nov 2024 + # https://www.statuscake.com/kb/knowledge-base/what-are-your-ips/ + source "https://grant.dev.openstreetmap.org/statuscake-locations-patch.json" compile_time true ignore_failure true end -- 2.39.5