From 902f43c89759db08e4e4d35911280f958701faa5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 21 Jun 2018 22:50:43 +0100 Subject: [PATCH 1/1] Use https to access private git repositories --- cookbooks/blog/recipes/default.rb | 2 +- cookbooks/civicrm/recipes/default.rb | 2 +- cookbooks/hardware/recipes/default.rb | 2 +- cookbooks/stateofthemap/recipes/default.rb | 6 +++--- cookbooks/switch2osm/recipes/default.rb | 14 +++++++------- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cookbooks/blog/recipes/default.rb b/cookbooks/blog/recipes/default.rb index 8c65a36af..60819536a 100644 --- a/cookbooks/blog/recipes/default.rb +++ b/cookbooks/blog/recipes/default.rb @@ -64,7 +64,7 @@ end wordpress_plugin "blog.openstreetmap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "blog.openstreetmap.org" - repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git" + repository "https://chef.openstreetmap.org/sitepress-multilingual-cms.git" end wordpress_plugin "blog.openstreetmap.org-wordpress-importer" do diff --git a/cookbooks/civicrm/recipes/default.rb b/cookbooks/civicrm/recipes/default.rb index 1cfc733da..c9bdb8e14 100644 --- a/cookbooks/civicrm/recipes/default.rb +++ b/cookbooks/civicrm/recipes/default.rb @@ -53,7 +53,7 @@ end wordpress_plugin "sitepress-multilingual-cms" do site "join.osmfoundation.org" - repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git" + repository "https://chef.openstreetmap.org/sitepress-multilingual-cms.git" end wordpress_plugin "contact-form-7" do diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 4c1daa9db..936d0d0db 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -277,7 +277,7 @@ if tools_packages.include?("areca") git "/opt/areca" do action :sync - repository "git://chef.openstreetmap.org/areca.git" + repository "https://chef.openstreetmap.org/areca.git" user "root" group "root" end diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index e697ae88c..f12b0c47f 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -165,7 +165,7 @@ end wordpress_plugin "2010.stateofthemap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "2010.stateofthemap.org" - repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git" + repository "https://chef.openstreetmap.org/sitepress-multilingual-cms.git" end wordpress_plugin "2010.stateofthemap.org-wp-sticky" do @@ -206,7 +206,7 @@ end wordpress_plugin "2011.stateofthemap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "2011.stateofthemap.org" - repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git" + repository "https://chef.openstreetmap.org/sitepress-multilingual-cms.git" end wordpress_plugin "2011.stateofthemap.org-wp-sticky" do @@ -252,7 +252,7 @@ end wordpress_plugin "2012.stateofthemap.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "2012.stateofthemap.org" - repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git" + repository "https://chef.openstreetmap.org/sitepress-multilingual-cms.git" end wordpress_plugin "2012.stateofthemap.org-wp-sticky" do diff --git a/cookbooks/switch2osm/recipes/default.rb b/cookbooks/switch2osm/recipes/default.rb index 5e2234f73..b31a434f4 100644 --- a/cookbooks/switch2osm/recipes/default.rb +++ b/cookbooks/switch2osm/recipes/default.rb @@ -39,43 +39,43 @@ end wordpress_plugin "switch2osm.org-sitepress-multilingual-cms" do plugin "sitepress-multilingual-cms" site "switch2osm.org" - repository "git://chef.openstreetmap.org/sitepress-multilingual-cms.git" + repository "https://chef.openstreetmap.org/sitepress-multilingual-cms.git" end wordpress_plugin "switch2osm.org-wpml-cms-nav" do plugin "wpml-cms-nav" site "switch2osm.org" - repository "git://chef.openstreetmap.org/wpml-cms-nav.git" + repository "https://chef.openstreetmap.org/wpml-cms-nav.git" end wordpress_plugin "switch2osm.org-wpml-sticky-links" do plugin "wpml-sticky-links" site "switch2osm.org" - repository "git://chef.openstreetmap.org/wpml-sticky-links.git" + repository "https://chef.openstreetmap.org/wpml-sticky-links.git" end wordpress_plugin "switch2osm.org-wpml-string-translation" do plugin "wpml-string-translation" site "switch2osm.org" - repository "git://chef.openstreetmap.org/wpml-string-translation.git" + repository "https://chef.openstreetmap.org/wpml-string-translation.git" end wordpress_plugin "switch2osm.org-wpml-translation-analytics" do plugin "wpml-translation-analytics" site "switch2osm.org" - repository "git://chef.openstreetmap.org/wpml-translation-analytics.git" + repository "https://chef.openstreetmap.org/wpml-translation-analytics.git" end wordpress_plugin "switch2osm.org-wpml-translation-management" do plugin "wpml-translation-management" site "switch2osm.org" - repository "git://chef.openstreetmap.org/wpml-translation-management.git" + repository "https://chef.openstreetmap.org/wpml-translation-management.git" end wordpress_plugin "switch2osm.org-wpml-xliff" do plugin "wpml-xliff" site "switch2osm.org" - repository "git://chef.openstreetmap.org/wpml-xliff.git" + repository "https://chef.openstreetmap.org/wpml-xliff.git" end template "/etc/cron.daily/switch2osm-backup" do -- 2.43.2