svn commit: r364984 - in head/sysutils: . mcollective-shell-agent mcollective-shell-agent/files
Bartek Rutkowski
robak at FreeBSD.org
Fri Aug 15 15:56:54 UTC 2014
Author: robak
Date: Fri Aug 15 15:56:52 2014
New Revision: 364984
URL: http://svnweb.freebsd.org/changeset/ports/364984
QAT: https://qat.redports.org/buildarchive/r364984/
Log:
ysutils/mcollective-shell-agent: NEW PORT - officiall MCollective Shell plugin
Submitted by: Bartek Rutkowski <robak at FreeBSD.org>
Approved by: swills (mentor)
Added:
head/sysutils/mcollective-shell-agent/
head/sysutils/mcollective-shell-agent/Makefile (contents, props changed)
head/sysutils/mcollective-shell-agent/distinfo (contents, props changed)
head/sysutils/mcollective-shell-agent/files/
head/sysutils/mcollective-shell-agent/files/patch-lib-mcollective-agent-shell-job.rb (contents, props changed)
head/sysutils/mcollective-shell-agent/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Fri Aug 15 15:45:20 2014 (r364983)
+++ head/sysutils/Makefile Fri Aug 15 15:56:52 2014 (r364984)
@@ -504,6 +504,7 @@
SUBDIR += mcollective
SUBDIR += mcollective-nrpe-agent
SUBDIR += mcollective-puppet-agent
+ SUBDIR += mcollective-shell-agent
SUBDIR += mcron
SUBDIR += mcweject
SUBDIR += mdcp
Added: head/sysutils/mcollective-shell-agent/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-shell-agent/Makefile Fri Aug 15 15:56:52 2014 (r364984)
@@ -0,0 +1,35 @@
+# Created by: Bartek Rutkowski <robak at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mcollective-shell-agent
+PORTVERSION= 0.0.1
+CATEGORIES= sysutils
+
+MAINTAINER= robak at FreeBSD.org
+COMMENT= MCollective shell agent plugin
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= mcollective>=2.2.4:${PORTSDIR}/sysutils/mcollective
+
+USE_GITHUB= yes
+GH_ACCOUNT= puppetlabs
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 9fb27d5
+
+PLIST_FILES= share/mcollective/agent/shell/job.rb \
+ share/mcollective/agent/shell.rb \
+ share/mcollective/agent/shell.ddl
+PLIST_DIRSTRY= share/mcollective/agent/shell
+
+NO_BUILD= yes
+
+do-install:
+
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_DIRSTRY}
+ ${INSTALL_DATA} ${WRKSRC}/lib/mcollective/agent/shell/job.rb ${STAGEDIR}${PREFIX}/share/mcollective/agent/shell/
+ ${INSTALL_DATA} ${WRKSRC}/lib/mcollective/agent/shell.rb ${STAGEDIR}${PREFIX}/share/mcollective/agent/
+ ${INSTALL_DATA} ${WRKSRC}/lib/mcollective/agent/shell.ddl ${STAGEDIR}${PREFIX}/share/mcollective/agent/
+
+.include <bsd.port.mk>
Added: head/sysutils/mcollective-shell-agent/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-shell-agent/distinfo Fri Aug 15 15:56:52 2014 (r364984)
@@ -0,0 +1,2 @@
+SHA256 (mcollective-shell-agent-0.0.1.tar.gz) = c3e899ecf21508587091828f9e18ed232ca615f9f8a899d524f0b96340738d74
+SIZE (mcollective-shell-agent-0.0.1.tar.gz) = 17900
Added: head/sysutils/mcollective-shell-agent/files/patch-lib-mcollective-agent-shell-job.rb
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-shell-agent/files/patch-lib-mcollective-agent-shell-job.rb Fri Aug 15 15:56:52 2014 (r364984)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+--- lib/mcollective/agent/shell/job.rb.orig 2014-08-14 12:52:06.644348698 +0200
++++ lib/mcollective/agent/shell/job.rb 2014-08-14 12:52:14.552664032 +0200
+@@ -1,4 +1,5 @@
+ require 'securerandom'
++require 'pathname'
+
+ # The Job class manages the spawning and state tracking for a process as it's
+ # running.
Added: head/sysutils/mcollective-shell-agent/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/mcollective-shell-agent/pkg-descr Fri Aug 15 15:56:52 2014 (r364984)
@@ -0,0 +1,8 @@
+The shell agent allows you to start and manage shell commands via mcollective.
+
+It allows the running of long-running processes with a mechanism to check in
+on the output from these long-running processes, which is independent of the
+mcollective daemon process (the daemon can be restarted without interrupting
+the processes)
+
+WWW: https://github.com/puppetlabs/mcollective-shell-agent
More information about the svn-ports-all
mailing list