boxen / puppet-java

Install Java
http://boxen.github.com
MIT License
13 stars 55 forks source link

Java 7u51 downloads don't appear to be accessible #31

Closed craigw closed 10 years ago

craigw commented 10 years ago

The JRE and JDK files for 7u51 don't seem to be accessible - my Boxen run fails with this error:

Error: Could not set 'present' on ensure: No such file or directory - https://s3.amazonaws.com/boxen-downloads/java/jre-7u51-macosx-x64.dmg at 25:/opt/boxen/repo/shared/java/manifests/init.pp
Error: Could not set 'present' on ensure: No such file or directory - https://s3.amazonaws.com/boxen-downloads/java/jre-7u51-macosx-x64.dmg at 25:/opt/boxen/repo/shared/java/manifests/init.pp
Wrapped exception:
No such file or directory - https://s3.amazonaws.com/boxen-downloads/java/jre-7u51-macosx-x64.dmg
Error: /Stage[main]/Java/Package[jre-7u51.dmg]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory - https://s3.amazonaws.com/boxen-downloads/java/jre-7u51-macosx-x64.dmg at 25:/opt/boxen/repo/shared/java/manifests/init.pp

I can confirm that the files aren't accessible using curl:

$ curl -i https://s3.amazonaws.com/boxen-downloads/java/jdk-7u51-macosx-x64.dmg
HTTP/1.1 403 Forbidden
x-amz-request-id: 219E229C6388744E
x-amz-id-2: WB1DDpDnoB22T9mrv8lQZfSZbDDLJKPrX9pCGbJJMsUXIyFEq/U3Aema6eE29tFa
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Mon, 17 Mar 2014 15:00:53 GMT
Server: AmazonS3

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>219E229C6388744E</RequestId><HostId>WB1DDpDnoB22T9mrv8lQZfSZbDDLJKPrX9pCGbJJMsUXIyFEq 
$ curl -i https://s3.amazonaws.com/boxen-downloads/java/jre-7u51-macosx-x64.dmg
HTTP/1.1 403 Forbidden
x-amz-request-id: 6DA359ACC91777B2
x-amz-id-2: KcZa1+7Bn3yRdlUXFB2fjt13czI/JjLzwIT3suirZtXkxKiVezkcs+CZLhWezN97
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Mon, 17 Mar 2014 15:01:03 GMT
Server: AmazonS3

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>6DA359ACC91777B2</RequestId><HostId>KcZa1+7Bn3yRdlUXFB2fjt13czI/JjLzwIT3suirZtXkxKiVezkcs+CZLhWezN97</HostId></Error>
okuramasafumi commented 10 years ago

I've encountered the same problem. I tried to use v1.2.0 and it worked.

dgoodlad commented 10 years ago

This was an issue when I uploaded the binaries to S3, which I quickly resolved but didn't notice this issue. Sorry for the delay!