engulf
engulf copied to clipboard
Cloudformation template no longer works
I've used engulf quite a few times and usually it works straight out of the box (so to speak). I've just tried it today using the cloudformation template and it fails to bring up the service on port 8080 (as far as I can see nmap sees it as closed). I haven't dug into server yet to see what's going on, but I thought I'd give you a heads up.
I noticed this too. I did a little digging.
The /etc/init.d/engulf script tries to fetch the startup script from a URL using curl. It looks like that URL is now serving a redirect, but the curl command line in /etc/init.d/engulf needs the "--location" flag or it won't follow the redirect.
On the master, I ran:
$ curl https://raw.github.com/andrewvc/engulf/master/misc/ami_bootstrap.sh
$
(no output, displaying the headers shows an redirect)
But when I add --location: $ curl https://raw.github.com/andrewvc/engulf/master/misc/ami_bootstrap.sh --location #!/bin/bash echo "Shutting down all java processes" killall -15 java ...
That seems to work.
Hey, thanks for taking a look into it. @mlimotte I'll try and find some time to fix the AMI with your patch.
Hi Andrew, are you able to fix up the AMI? I just tried this now and it's still broken. Thanks
@NoodlesNZ sorry, but I don't have time to maintain this anymore. Feel free to fork it however!