From: Tom Hughes Date: Tue, 18 Feb 2020 16:17:31 +0000 (+0000) Subject: Don't try and install sitepress-multilingual-cms in test environments X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/323b5880e4443e557826be12ed0e7825db3d0c35?ds=sidebyside Don't try and install sitepress-multilingual-cms in test environments --- diff --git a/cookbooks/blog/recipes/default.rb b/cookbooks/blog/recipes/default.rb index 789658448..4aa56204d 100644 --- a/cookbooks/blog/recipes/default.rb +++ b/cookbooks/blog/recipes/default.rb @@ -65,6 +65,7 @@ wordpress_plugin "blog.openstreetmap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "blog.openstreetmap.org" repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git" + not_if { ENV["TEST_KITCHEN"] } end wordpress_plugin "blog.openstreetmap.org-wordpress-importer" do diff --git a/cookbooks/civicrm/recipes/default.rb b/cookbooks/civicrm/recipes/default.rb index 6e492e224..4486ea352 100644 --- a/cookbooks/civicrm/recipes/default.rb +++ b/cookbooks/civicrm/recipes/default.rb @@ -56,6 +56,7 @@ end wordpress_plugin "sitepress-multilingual-cms" do site "join.osmfoundation.org" repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git" + not_if { ENV["TEST_KITCHEN"] } end wordpress_plugin "contact-form-7" do diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index 1bb8176f1..39307279d 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -166,6 +166,7 @@ wordpress_plugin "2010.stateofthemap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "2010.stateofthemap.org" repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git" + not_if { ENV["TEST_KITCHEN"] } end wordpress_plugin "2010.stateofthemap.org-wp-sticky" do @@ -207,6 +208,7 @@ wordpress_plugin "2011.stateofthemap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "2011.stateofthemap.org" repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git" + not_if { ENV["TEST_KITCHEN"] } end wordpress_plugin "2011.stateofthemap.org-wp-sticky" do @@ -253,6 +255,7 @@ wordpress_plugin "2012.stateofthemap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "2012.stateofthemap.org" repository "https://git.openstreetmap.org/private/sitepress-multilingual-cms.git" + not_if { ENV["TEST_KITCHEN"] } end wordpress_plugin "2012.stateofthemap.org-wp-sticky" do