From 4ea8f96f099e047abfdaa0a866d939cc8c8be1e3 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 29 Sep 2026 16:57:23 +0100 Subject: [PATCH] sotm: Remove old 2010 WP site --- cookbooks/stateofthemap/recipes/wordpress.rb | 29 ------------------- test/data_bags/stateofthemap/passwords.json | 1 - .../stateofthemap/wp2fa_encrypt_keys.json | 1 - 3 files changed, 31 deletions(-) diff --git a/cookbooks/stateofthemap/recipes/wordpress.rb b/cookbooks/stateofthemap/recipes/wordpress.rb index 4e3442cc6..8a7257ccf 100644 --- a/cookbooks/stateofthemap/recipes/wordpress.rb +++ b/cookbooks/stateofthemap/recipes/wordpress.rb @@ -23,35 +23,6 @@ include_recipe "wordpress" passwords = data_bag_item("stateofthemap", "passwords") wp2fa_encrypt_keys = data_bag_item("stateofthemap", "wp2fa_encrypt_keys") -wordpress_theme "2010.stateofthemap.org-aerodrome" do - action :delete - theme "aerodrome" - site "2010.stateofthemap.org" - repository "https://git.openstreetmap.org/public/stateofthemap.git" - revision "theme-2010" -end - -wordpress_plugin "2010.stateofthemap.org-sitepress-multilingual-cms" do - action :delete - plugin "sitepress-multilingual-cms" - site "2010.stateofthemap.org" - repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git" - revision "master" - not_if { kitchen? } -end - -wordpress_site "2010.stateofthemap.org" do - action :delete - aliases ["2010.stateofthemap.com", "2010.sotm.org"] - directory "/srv/2010.stateofthemap.org/wp" - database_name "sotm2010" - database_user "sotm2010" - database_password passwords["sotm2010"] - wp2fa_encrypt_key wp2fa_encrypt_keys["sotm2010"] - urls "/register" => "/srv/2010.stateofthemap.org/register" - fpm_prometheus_port 12010 -end - directory "/srv/2011.stateofthemap.org" do owner "wordpress" group "wordpress" diff --git a/test/data_bags/stateofthemap/passwords.json b/test/data_bags/stateofthemap/passwords.json index 88d27ac76..43bc51bb1 100644 --- a/test/data_bags/stateofthemap/passwords.json +++ b/test/data_bags/stateofthemap/passwords.json @@ -3,7 +3,6 @@ "sotm2007": "sotm2007", "sotm2008": "sotm2008", "sotm2009": "sotm2009", - "sotm2010": "sotm2010", "sotm2011": "sotm2011", "sotm2012": "sotm2012" } diff --git a/test/data_bags/stateofthemap/wp2fa_encrypt_keys.json b/test/data_bags/stateofthemap/wp2fa_encrypt_keys.json index e5370983a..ca417c137 100644 --- a/test/data_bags/stateofthemap/wp2fa_encrypt_keys.json +++ b/test/data_bags/stateofthemap/wp2fa_encrypt_keys.json @@ -3,7 +3,6 @@ "sotm2007": "q1bhaOUla4GIHvTp/QR5bw==", "sotm2008": "VUkZ0vbiXgTu8IwZyz71Lg==", "sotm2009": "8nQDE9ng6QW8AKDpsm3NOA==", - "sotm2010": "Bu968voFkvMpSgogWBrf6g==", "sotm2011": "vsrEyBqcI30SFv9gyYkyWQ==", "sotm2012": "Qe3olwbbSFuraQAoUXieHA==" } -- 2.47.3