X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/60b3f2470a010f3a73baefcef111f2c2241556a0..7eb3680b81fdf339e466d9279584805f17a54c0f:/cookbooks/stateofthemap/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index b2a40d1e7..3d2348da6 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -173,7 +173,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"] } + not_if { kitchen? } end wordpress_plugin "2010.stateofthemap.org-wp-sticky" do @@ -217,7 +217,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"] } + not_if { kitchen? } end wordpress_plugin "2011.stateofthemap.org-wp-sticky" do @@ -266,7 +266,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"] } + not_if { kitchen? } end wordpress_plugin "2012.stateofthemap.org-wp-sticky" do @@ -358,6 +358,7 @@ end cwd "/srv/#{year}.stateofthemap.org" user "nobody" group "nogroup" + environment "LANG" => "C.UTF-8" end ssl_certificate "#{year}.stateofthemap.org" do