From owner-svn-ports-head@FreeBSD.ORG Fri Aug 15 15:56:54 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E874D99; Fri, 15 Aug 2014 15:56:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 390EC2260; Fri, 15 Aug 2014 15:56:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7FFus8S038284; Fri, 15 Aug 2014 15:56:54 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7FFurqp038279; Fri, 15 Aug 2014 15:56:53 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201408151556.s7FFurqp038279@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Fri, 15 Aug 2014 15:56:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364984 - in head/sysutils: . mcollective-shell-agent mcollective-shell-agent/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2014 15:56:54 -0000 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 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 +# $FreeBSD$ + +PORTNAME= mcollective-shell-agent +PORTVERSION= 0.0.1 +CATEGORIES= sysutils + +MAINTAINER= robak@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 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