diff --git a/configs/components/augeas.rb b/configs/components/augeas.rb index 67e22d8d8..196092118 100644 --- a/configs/components/augeas.rb +++ b/configs/components/augeas.rb @@ -15,7 +15,11 @@ raise "augeas version #{version} has not been configured; Cannot continue." end - pkg.url "http://download.augeas.net/augeas-#{pkg.get_version}.tar.gz" + if Gem::version.new(version) < Gem::version.new('1.13.0') + pkg.url "http://download.augeas.net/augeas-#{pkg.get_version}.tar.gz" + else + pkg.url "https://github.com/hercules-team/augeas/releases/download/release-#{pkg.get_version}/augeas-#{pkg.get_version}.tar.gz" + end if ['1.12.0', '1.14.1'].include?(version) if platform.is_el? || platform.is_fedora?