Index: sysutils/rubygem-hammer_cli_foreman_ssh/Makefile =================================================================== --- /dev/null +++ sysutils/rubygem-hammer_cli_foreman_ssh/Makefile @@ -0,0 +1,28 @@ +# Created by: Michael Moll +# $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 + +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 Index: sysutils/rubygem-hammer_cli_foreman_ssh/distinfo =================================================================== --- /dev/null +++ sysutils/rubygem-hammer_cli_foreman_ssh/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/hammer_cli_foreman_ssh-0.0.2.gem) = b75c930a185c6c18195fddf745cdfcfcc777c3a7ae873fbe4fc12a01971d4e7b +SIZE (rubygem/hammer_cli_foreman_ssh-0.0.2.gem) = 6656 Index: sysutils/rubygem-hammer_cli_foreman_ssh/files/foreman_ssh.yml.sample =================================================================== --- /dev/null +++ sysutils/rubygem-hammer_cli_foreman_ssh/files/foreman_ssh.yml.sample @@ -0,0 +1,3 @@ +:foreman_ssh: + :enable_module: true + :require: 'foreman' Index: sysutils/rubygem-hammer_cli_foreman_ssh/pkg-descr =================================================================== --- /dev/null +++ sysutils/rubygem-hammer_cli_foreman_ssh/pkg-descr @@ -0,0 +1,4 @@ +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