6127df8ecf
Closes #34484. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
21 lines
641 B
Ruby
21 lines
641 B
Ruby
class AnsibleCmdb < Formula
|
|
desc "Generates static HTML overview page from Ansible facts"
|
|
homepage "https://github.com/fboender/ansible-cmdb"
|
|
url "https://github.com/fboender/ansible-cmdb/releases/download/1.30/ansible-cmdb-1.30.tar.gz"
|
|
sha256 "a52c450abea8fa7d162445386e40e554db763e34695b50c64c43e98d594539f6"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "libyaml"
|
|
|
|
def install
|
|
prefix.install_metafiles
|
|
man1.install "ansible-cmdb.man.1" => "ansible-cmdb.1"
|
|
libexec.install Dir["*"] - ["Makefile"]
|
|
bin.write_exec_script libexec/"ansible-cmdb"
|
|
end
|
|
|
|
test do
|
|
system bin/"ansible-cmdb", "-dt", "html_fancy", "."
|
|
end
|
|
end
|