X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/60b3f2470a010f3a73baefcef111f2c2241556a0..2c1aefb8d788c551ea7a40170c36ac8809a523b0:/cookbooks/stateofthemap/recipes/default.rb diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index b2a40d1e7..768fca04e 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 @@ -318,7 +318,7 @@ gem_package "bundler" do version "2.1.4" end -%w[2016 2017 2018 2019 2020 2021].each do |year| +%w[2016 2017 2018 2019 2020 2021 2022].each do |year| git "/srv/#{year}.stateofthemap.org" do action :sync repository "https://github.com/openstreetmap/stateofthemap-#{year}.git" @@ -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