aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel Cochran2014-09-11 07:39:59 +1000
committerAdam Vandenberg2014-09-24 07:27:40 -0700
commit54e11f51990f139b2c7b5f2dd0d7eb5d4ed3a7a2 (patch)
tree09e52c949ee95eb02e9454e4655e9f9487fcb558 /Library/Formula
parent77c8da8c6f78823cf864a281f22d58b71c841dca (diff)
downloadhomebrew-54e11f51990f139b2c7b5f2dd0d7eb5d4ed3a7a2.tar.bz2
auto-scaling: correct caveats
Closes #32219. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/auto-scaling.rb20
1 files changed, 19 insertions, 1 deletions
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=<Your AWS Access ID>
+ AWSSecetKey=<Your AWS Secret Key>
+
+ 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="<Path to credential file>"
+
+ See the website for more details:
+ http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/UsingTheCommandLineTools.html
+ EOS
end
end