diff options
author | Lance Albertson <ramereth@gentoo.org> | 2011-03-01 02:18:33 +0000 |
---|---|---|
committer | Lance Albertson <ramereth@gentoo.org> | 2011-03-01 02:18:33 +0000 |
commit | 4965f1314eefeccd446313addf70b0f4d998fd85 (patch) | |
tree | 1d447a70af8b248512ecc820d85cabf1909d5fbf /app-admin/mcollective | |
parent | sys-kernel/dracut: Version bump to 008, resolves bug #353577 (diff) | |
download | historical-4965f1314eefeccd446313addf70b0f4d998fd85.tar.gz historical-4965f1314eefeccd446313addf70b0f4d998fd85.tar.bz2 historical-4965f1314eefeccd446313addf70b0f4d998fd85.zip |
Initial commit imported from my ramereth-overlay
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'app-admin/mcollective')
-rw-r--r-- | app-admin/mcollective/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/mcollective/Manifest | 15 | ||||
-rw-r--r-- | app-admin/mcollective/files/mcollectived.initd | 29 | ||||
-rw-r--r-- | app-admin/mcollective/mcollective-1.0.1.ebuild | 59 | ||||
-rw-r--r-- | app-admin/mcollective/metadata.xml | 16 |
5 files changed, 129 insertions, 0 deletions
diff --git a/app-admin/mcollective/ChangeLog b/app-admin/mcollective/ChangeLog new file mode 100644 index 000000000000..2026af7f9c14 --- /dev/null +++ b/app-admin/mcollective/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/mcollective +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/mcollective/ChangeLog,v 1.1 2011/03/01 02:18:33 ramereth Exp $ + +*mcollective-1.0.1 (01 Mar 2011) + + 01 Mar 2011; Lance Albertson <ramereth@gentoo.org> + +mcollective-1.0.1.ebuild, +files/mcollectived.initd, +metadata.xml: + Initial commit imported from my ramereth-overlay + diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest new file mode 100644 index 000000000000..6c24d12bfcd1 --- /dev/null +++ b/app-admin/mcollective/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mcollectived.initd 621 RMD160 51220a4b6324e325ccaea7cdc6cb899425da62b0 SHA1 8460959b48f92a2d8230ca048ea74b3ab906dce7 SHA256 13a88ac2eaa9221a81fe99eafa3adce490fddd2433b5b3b2b6df89a5fb6aa64a +DIST mcollective-1.0.1.tgz 169558 RMD160 2443c462db91f6d9af1840f65c49024b293280f3 SHA1 eda65ff7d38b97714ae2bf8b49ffaf8d6a9bd571 SHA256 4dec52151faedd2baa1226102237b894864716d200cb330274c21cc5981e80cb +EBUILD mcollective-1.0.1.ebuild 1600 RMD160 6ac6281317e289ba2f2da397b791231a243f4e60 SHA1 1240aab9e65447b51b4d46615dcb2c8ce794d8bf SHA256 84a8e9849fb46f705cd90e1fc0c8c96534063b1365ab135421ab2158b86812e2 +MISC ChangeLog 427 RMD160 41ea8bf1f48bf13cca202b1e3f976a7166cf9a8e SHA1 f0a3cbdbf2d93d608c292bb48248431ee2858456 SHA256 5367667eb794b77ea27df2a059e71cde01c5b2e7562005b36c28b76e4733784f +MISC metadata.xml 463 RMD160 a93c627ae1a9f8b759ced1af615f7c147f49aa43 SHA1 3bc03dd891a3ceb567aace896b9cfe64771cbf8b SHA256 ea5db5c13ed2012181b5dfbb2170a24bc67c9b6f7b2d6de8b934a27ee4a7f1b1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iD8DBQFNbFd9QW+hXSf0t0IRAsl6AKDZauK8mY726RpNzIRQCz9wkKQx4wCg53Lq +NBdZ50LhIPCeHbCZ52uTTVs= +=DIuF +-----END PGP SIGNATURE----- diff --git a/app-admin/mcollective/files/mcollectived.initd b/app-admin/mcollective/files/mcollectived.initd new file mode 100644 index 000000000000..c2f8f85a4c41 --- /dev/null +++ b/app-admin/mcollective/files/mcollectived.initd @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/mcollective/files/mcollectived.initd,v 1.1 2011/03/01 02:18:33 ramereth Exp $ + +mcollectived="/usr/sbin/mcollectived" +pidfile="/var/run/mcollectived" + +depend() { + need net +} + +start() { + ebegin "Starting mcollectived" + ${mcollectived} --pid=${pidfile} --config="/etc/mcollective/server.cfg" + eend $? +} + +stop() { + ebegin "Stopping mcollectived" + kill `cat ${pidfile}` + eend $? +} + +restart() { + svc_stop + sleep 2 + svc_start +} diff --git a/app-admin/mcollective/mcollective-1.0.1.ebuild b/app-admin/mcollective/mcollective-1.0.1.ebuild new file mode 100644 index 000000000000..43cb4fa19656 --- /dev/null +++ b/app-admin/mcollective/mcollective-1.0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/mcollective/mcollective-1.0.1.ebuild,v 1.1 2011/03/01 02:18:33 ramereth Exp $ + +EAPI="2" + +USE_RUBY="ruby18 ree18" + +inherit ruby-ng + +DESCRIPTION="Framework to build server orchestration or parallel job execution +systems" +HOMEPAGE="http://marionette-collective.org/" +SRC_URI="http://puppetlabs.com/downloads/mcollective/${P}.tgz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc +client" + +DEPEND="" +RDEPEND="dev-ruby/stomp" + +src_compile() { + einfo "nothing to compile" +} + +each_ruby_install() { + doruby -r lib/* + insinto /usr/share/mcollective + doins -r plugins + use client && dosbin mc-* + newsbin mcollectived.rb mcollectived + if use doc ; then + dohtml -r doc/* + insinto /usr/share/doc/${P}/ext + doins -r ext/* + fi + newinitd "${FILESDIR}"/mcollectived.initd mcollectived + insinto /etc/mcollective + cd etc + for cfg in *.dist ; do + newins "${cfg}" "${cfg%%.dist}" + dosed "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \ + /etc/mcollective/${cfg%%.dist} + done +} + +pkg_postinst() { + einfo "Mcollective requires a stomp server installed and functioning before" + einfo "you can use it. The recommended server to use is ActiveMQ [1] but" + einfo "any other stomp compatible server should work." + einfo + einfo "It is recommended you read the \'getting started\' guide [2] if this" + einfo "is a new installation" + einfo + einfo "[1] http://activemq.apache.org/" + einfo "[2] http://code.google.com/p/mcollective/wiki/GettingStarted" +} diff --git a/app-admin/mcollective/metadata.xml b/app-admin/mcollective/metadata.xml new file mode 100644 index 000000000000..b26c80664cd9 --- /dev/null +++ b/app-admin/mcollective/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd></herd> + <maintainer> + <email>ramereth@gentoo.org</email> + <name>Lance Albertson</name> + </maintainer> + <use> + <flag name="client">Install client utilities</flag> + </use> + <longdescription lang="en"> + mcollective is a framework to build server orchestration or parallel job + execution systems. + </longdescription> +</pkgmetadata> |