Skip to content
Browse files

[COOK-1916] Fix: Development for `mod_auth_openid` has apparently mov…

…ed to Github, and releases are being stored there now.
  • Loading branch information...
1 parent 06b023a commit 127841559914023a7f9b012412d182a9879a6b63 @patcoll committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 recipes/mod_auth_openid.rb
View
6 recipes/mod_auth_openid.rb
@@ -71,7 +71,11 @@
configure_flags = node['apache']['mod_auth_openid']['configure_flags']
remote_file "#{Chef::Config['file_cache_path']}/mod_auth_openid-#{version}.tar.gz" do
- source "http://butterfat.net/releases/mod_auth_openid/mod_auth_openid-#{version}.tar.gz"
+ if Chef::Version.new(version) >= Chef::Version.new(0.7)
+ source "https://github.com/downloads/bmuller/mod_auth_openid/mod_auth_openid-#{version}.tar.gz"
+ else
+ source "http://butterfat.net/releases/mod_auth_openid/mod_auth_openid-#{version}.tar.gz"
+ end
mode 00644
checksum _checksum
end

0 comments on commit 1278415

Please sign in to comment.
Something went wrong with that request. Please try again.