From 127841559914023a7f9b012412d182a9879a6b63 Mon Sep 17 00:00:00 2001 From: Pat Collins Date: Mon, 19 Nov 2012 11:59:41 -0500 Subject: [PATCH] [COOK-1916] Fix: Development for `mod_auth_openid` has apparently moved to Github, and releases are being stored there now. --- recipes/mod_auth_openid.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes/mod_auth_openid.rb b/recipes/mod_auth_openid.rb index ca6fb3ea4..8e26b328e 100644 --- a/recipes/mod_auth_openid.rb +++ b/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