[DRE-commits] [librarian-puppet] 45/153: Can't use Puppet Forge https url in Puppet 2.7.x
Stig Sandbeck Mathisen
ssm at debian.org
Wed Jun 1 20:30:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit 40f1b1b53074b225ae9b091ab59eefa28c1026dc
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date: Wed Aug 6 08:56:06 2014 +0200
Can't use Puppet Forge https url in Puppet 2.7.x
---
lib/librarian/puppet/source/forge/repo.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librarian/puppet/source/forge/repo.rb b/lib/librarian/puppet/source/forge/repo.rb
index f635e9b..06364c6 100644
--- a/lib/librarian/puppet/source/forge/repo.rb
+++ b/lib/librarian/puppet/source/forge/repo.rb
@@ -96,7 +96,7 @@ module Librarian
warn { "Replacing Puppet Forge API URL to use v3 #{module_repository} as required by your client version #{Librarian::Puppet.puppet_version}" }
end
- m = module_repository.match(%r{^http(s)?://forgeapi\.puppetlabs\.com})
+ m = module_repository.match(%r{^http(s)?://forge(api)?\.puppetlabs\.com})
if Forge.client_api_version() == 1 and m
ssl = m[1]
# Puppet 2.7 can't handle the 302 returned by the https url, so stick to http
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list