From 54e11f51990f139b2c7b5f2dd0d7eb5d4ed3a7a2 Mon Sep 17 00:00:00 2001 From: Samuel Cochran Date: Thu, 11 Sep 2014 07:39:59 +1000 Subject: auto-scaling: correct caveats Closes #32219. Signed-off-by: Adam Vandenberg --- Library/Formula/auto-scaling.rb | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/auto-scaling.rb b/Library/Formula/auto-scaling.rb index 2e946c105..033416dc6 100644 --- a/Library/Formula/auto-scaling.rb +++ b/Library/Formula/auto-scaling.rb @@ -11,6 +11,24 @@ class AutoScaling < AmazonWebServicesFormula end def caveats - standard_instructions "AWS_AUTO_SCALING_HOME" + <<-EOS.undent + Before you can use these tools you must populate a file and export some variables to your $SHELL. + + You must create a credential file containing: + + AWSAccessKeyId= + AWSSecetKey= + + Then to export the needed variables, add them to your dotfiles. + * On Bash, add them to `~/.bash_profile`. + * On Zsh, add them to `~/.zprofile` instead. + + export JAVA_HOME="$(/usr/libexec/java_home)" + export AWS_AUTO_SCALING_HOME="#{libexec}" + export AWS_CREDENTIAL_FILE="" + + See the website for more details: + http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/UsingTheCommandLineTools.html + EOS end end -- cgit v1.2.3