From 5e22aadc23a595679e35d7f58d0bfb36948010d2 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 15 Jul 2023 21:57:58 +0100 Subject: [PATCH] sotm: remove old geopress wordpress plugin --- cookbooks/stateofthemap/recipes/wordpress.rb | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/cookbooks/stateofthemap/recipes/wordpress.rb b/cookbooks/stateofthemap/recipes/wordpress.rb index b2e34c47b..369bc39fe 100644 --- a/cookbooks/stateofthemap/recipes/wordpress.rb +++ b/cookbooks/stateofthemap/recipes/wordpress.rb @@ -47,10 +47,12 @@ wordpress_theme "2007.stateofthemap.org-refreshwp-11" do revision "theme-2007" end -# wordpress_plugin "2007.stateofthemap.org-geopress" do -# plugin "geopress" -# site "2007.stateofthemap.org" -# end +# Remove broken geopress plugin +wordpress_plugin "2007.stateofthemap.org-geopress" do + action :delete + plugin "geopress" + site "2007.stateofthemap.org" +end directory "/srv/2008.stateofthemap.org" do owner "wordpress" @@ -76,10 +78,12 @@ wordpress_theme "2008.stateofthemap.org-refreshwp-11" do revision "theme-2008" end -# wordpress_plugin "2008.stateofthemap.org-geopress" do -# plugin "geopress" -# site "2008.stateofthemap.org" -# end +# Remove broken geopress plugin +wordpress_plugin "2008.stateofthemap.org-geopress" do + action :delete + plugin "geopress" + site "2008.stateofthemap.org" +end directory "/srv/2009.stateofthemap.org" do owner "wordpress" -- 2.39.5