diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/auto-scaling.rb | 20 |
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 |
