X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a48615f306bbad32ae9a6451ca59a8f34eeaa083..204405570f4bf5e8a2b0400d000fc364e5e56f74:/cookbooks/stateofthemap/recipes/default.rb diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index 1bb8176f1..fad08875d 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 @@ -299,7 +302,7 @@ end %w[2016 2017 2018 2019 2020].each do |year| git "/srv/#{year}.stateofthemap.org" do action :sync - repository "git://github.com/openstreetmap/stateofthemap-#{year}.git" + repository "https://github.com/openstreetmap/stateofthemap-#{year}.git" user "root" group "root" notifies :run, "execute[/srv/#{year}.stateofthemap.org/Gemfile]"