X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/741593ee2bf203c9261f604d094e3d8e621698a8..5b9accd8fdcb250bc289537763e837fe088dc363:/cookbooks/mediawiki/resources/extension.rb diff --git a/cookbooks/mediawiki/resources/extension.rb b/cookbooks/mediawiki/resources/extension.rb index 95c7dff22..b332d4296 100644 --- a/cookbooks/mediawiki/resources/extension.rb +++ b/cookbooks/mediawiki/resources/extension.rb @@ -57,10 +57,11 @@ action :create do action :sync repository extension_repository reference extension_reference + depth 1 enable_submodules true user node[:mediawiki][:user] group node[:mediawiki][:group] - ignore_failure extension_repository.start_with?("git://github.com/wikimedia/mediawiki-extensions") + ignore_failure extension_repository.start_with?("https://github.com/wikimedia/mediawiki-extensions") end end @@ -122,7 +123,7 @@ action_class do end def default_repository - "git://github.com/wikimedia/mediawiki-extensions-#{new_resource.extension}.git" + "https://github.com/wikimedia/mediawiki-extensions-#{new_resource.extension}.git" end end