aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rds-command-line-tools.rb
diff options
context:
space:
mode:
authorAvand Amiri2009-12-21 18:38:19 -0600
committerAdam Vandenberg2010-05-19 21:18:15 -0700
commitd403d91dcf1eed5dba993e6404bcfcf138f1bebf (patch)
tree5aab42ba2a183a9323d70881d91c7bda61aab759 /Library/Formula/rds-command-line-tools.rb
parent1181d3c60b816e87ebf83e9b5d9a18fa4321de3d (diff)
downloadhomebrew-d403d91dcf1eed5dba993e6404bcfcf138f1bebf.tar.bz2
Added Amazon Relational Database Service (RDS) command line tools
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Updated to use aws tools base class.
Diffstat (limited to 'Library/Formula/rds-command-line-tools.rb')
-rw-r--r--Library/Formula/rds-command-line-tools.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/rds-command-line-tools.rb b/Library/Formula/rds-command-line-tools.rb
new file mode 100644
index 000000000..6a02ec1e6
--- /dev/null
+++ b/Library/Formula/rds-command-line-tools.rb
@@ -0,0 +1,29 @@
+require 'formula'
+
+# Require ec2-api-tools to get the base class
+require "#{File.dirname __FILE__}/ec2-api-tools.rb"
+
+class RdsCommandLineTools <AmazonWebServicesFormula
+ homepage 'http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2928'
+ url 'http://s3.amazonaws.com/rds-downloads/RDSCli.zip'
+ md5 'a4c7f9efca4c19b9f9073945a5bbc7b9'
+ version '1.1.005'
+
+ def install
+ standard_install
+ end
+
+ def caveats
+ s = standard_instructions "AWS_RDS_HOME"
+ s += <<-EOS.undent
+
+ To check that your setup works properly, run the following command:
+
+ rds-describe-db-instances --headers
+
+ You should see a header line. If you have database instances already configured,
+ you will see a description line for each database instance.
+ EOS
+ return s
+ end
+end