aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rds-command-line-tools.rb
blob: 735762156cb3b801f5189ac154ce770a3fbc86a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

class RdsCommandLineTools < AmazonWebServicesFormula
  homepage 'http://aws.amazon.com/developertools/2928'
  url      'http://s3.amazonaws.com/rds-downloads/RDSCli-1.6.001.zip'
  md5      '7625dea485b3eaa7c28c57bb32d591ff'

  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