]> git.openstreetmap.org Git - chef.git/commitdiff
blog: update wordpress extensions
authorGrant Slater <git@firefishy.com>
Fri, 5 Aug 2022 10:48:15 +0000 (13:48 +0300)
committerGrant Slater <git@firefishy.com>
Fri, 5 Aug 2022 10:48:24 +0000 (13:48 +0300)
Remove: google-analytics-for-wordpress (unused)
Remove: wordpress-importer (unused)
Remove: shareadraft (replaced)
Add: public-post-preview (replacement)

cookbooks/blog/recipes/default.rb

index e857a1dc675b30b1c2314f39ae65af4e320bb0aa..46b6902ad57f5db1d5320c381670998dbe7a2ff9 100644 (file)
@@ -48,6 +48,7 @@ wordpress_theme "blog.openstreetmap.org-osmblog-wp-theme" do
 end
 
 wordpress_plugin "blog.openstreetmap.org-google-analytics-for-wordpress" do
+  action :delete
   plugin "google-analytics-for-wordpress"
   site "blog.openstreetmap.org"
 end
@@ -64,10 +65,16 @@ end
 # end
 
 wordpress_plugin "blog.openstreetmap.org-shareadraft" do
+  action :delete
   plugin "shareadraft"
   site "blog.openstreetmap.org"
 end
 
+wordpress_plugin "blog.openstreetmap.org-public-post-preview" do
+  plugin "public-post-preview"
+  site "blog.openstreetmap.org"
+end
+
 wordpress_plugin "blog.openstreetmap.org-sitepress-multilingual-cms" do
   plugin "sitepress-multilingual-cms"
   site "blog.openstreetmap.org"
@@ -77,6 +84,7 @@ wordpress_plugin "blog.openstreetmap.org-sitepress-multilingual-cms" do
 end
 
 wordpress_plugin "blog.openstreetmap.org-wordpress-importer" do
+  action :delete
   plugin "wordpress-importer"
   site "blog.openstreetmap.org"
 end