forked from chezou/homebrew-cloudera
-
Notifications
You must be signed in to change notification settings - Fork 3
/
cloudera-director-server.rb
25 lines (21 loc) · 1007 Bytes
/
cloudera-director-server.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class ClouderaDirectorServer < Formula
desc "Cloudera Director Server which enbales you to deploy CDH cluster on cloud"
homepage "https://www.cloudera.com/products/product-components/cloudera-director.html"
url "https://archive.cloudera.com/director6/6.3.1/tars/cloudera-director-server-6.3.1.tar.gz"
sha256 "1c761aea042d2ea7a49d44301fd1653bcfaad8d155a5972d8d65188ea69771f6"
depends_on "cloudera-director-client" => :recommended
def install
libexec.install Dir["bin", "lib", "plugins", "etc"]
bin.install_symlink "#{libexec}/bin/start" => "cloudera-director-server-start"
bin.install_symlink "#{libexec}/bin/stop" => "cloudera-director-server-stop"
bin.install_symlink "#{libexec}/bin/cloudera-director-server" => "cloudera-director-server"
end
def caveats
msg = <<~EOF
You can start cloudera director server with cloudera-director-server-start command. If you want to stop it, use cloudera-director-server-stop.
EOF
end
test do
#system "false"
end
end