Added Amazon Relational Database Service (RDS) command line tools

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Updated to use aws tools base class.
master
Avand Amiri 2009-12-21 18:38:19 -06:00 committed by Adam Vandenberg
parent b4ac7d994a
commit c973297a84
1 changed files with 29 additions and 0 deletions

View File

@ -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