]> git.openstreetmap.org Git - chef.git/commitdiff
sotm: remove old geopress wordpress plugin
authorGrant Slater <github@firefishy.com>
Sat, 15 Jul 2023 20:57:58 +0000 (21:57 +0100)
committerGrant Slater <github@firefishy.com>
Sat, 15 Jul 2023 20:58:09 +0000 (21:58 +0100)
cookbooks/stateofthemap/recipes/wordpress.rb

index b2e34c47b1feb2a82ec5a51095e3469f321295ef..369bc39fe12d3ccf31b9398f4d732c159c84b524 100644 (file)
@@ -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"