oliverlloyd/jmeter-ec2 — pull request #4 by gerricchaplin (2012-08-15 11:38:30+00:00)
Title: Some minor generalisations with added region support 

Very nice work on this tool!! You have made something great here. ;) I
would like to submit the following few changes in case others might
find them useful.

install.sh uses jmeter-ec2.properties to define JAVA_VERSION for 32 and
64 bit

Add AMAZON_KEYPAIR_NAME so that PEM_FILE can reference any file as we
may be using a rya key and the name might not match the key pair name
in AWS.
Add region property so that users can actually spark something up in a
different regions and AZ like eh-west-1b.

Add JAVA_VERSIONs for 32 and 64bit used by install.sh

jmeter-ec.sh add region and support to commands remove .pem from
PEM_FILE name as it is not necessary now using PEM_FILE. SCP some more
files up like the stop script that I had to modify to explicitly look
at my java dir. Likely an issue with PATHs but haven't had much luck
fixing it as yet. profile.d config was correct… Add meter.sh and
stoptest.sh as it wasn't using the JAVA_HOME I had configured.