be2136f177
This Hammer CLI plugin contains a set of commands for remote execution of commands on hosts known to Foreman via SSH WWW: https://github.com/theforeman/hammer-cli-foreman-ssh PR: 194673 Differential Revision: https://reviews.freebsd.org/D1113 Submitted by: Michael Moll <kvedulv@kvedulv.de> Approved by: swills (mentor)
28 lines
791 B
Makefile
28 lines
791 B
Makefile
# Created by: Michael Moll <kvedulv@kvedulv.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hammer_cli_foreman_ssh
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= sysutils ruby
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= kvedulv@kvedulv.de
|
|
COMMENT= SSH host commands for Hammer CLI
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= rubygem-hammer_cli_foreman>=0.1.2:${PORTSDIR}/sysutils/rubygem-hammer_cli_foreman \
|
|
rubygem-net-ssh-multi>0:${PORTSDIR}/security/rubygem-net-ssh-multi
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
PLIST_FILES= "@sample etc/hammer/cli.modules.d/foreman_ssh.yml.sample"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d
|
|
${INSTALL_DATA} ${FILESDIR}/foreman_ssh.yml.sample ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d/foreman_ssh.yml.sample
|
|
|
|
.include <bsd.port.post.mk>
|