Closed alexanderdavidpan closed 6 years ago
Your PR is fine, but wanted to comment on this issue. It looks like you have the url defined using the mirror "http://apache.mirrors.tds.net/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz" which archives off older releases. Your PR takes it to latest version which is available, but this will continue to pop up as an issue each time. I wanted to make sure to comment here so folks in the future who run into a similar issue understand what is going on. The solution is to override the version attribute to what is available on the mirror in use OR to update the url attribute to a repository that has the version you're trying to install.
Release 5.1.0 updates the version and checksum to latest release.
Cookbook version
v5.0.3
Chef-client version
v12.16.42
Platform Details
AWS
Scenario:
When trying to install Maven, the default maven url for cookbook version 3.5.0 returns a 404 status code and chef complains that there was an "Error executing action
install
on resource 'ark[maven]'".Steps to Reproduce:
Try installing maven via the maven cookbook.
Expected Result:
I expected maven to be installed in my EC2 instance without error.
Actual Result: