diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2019-10-10 12:18:10 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2019-10-10 12:28:19 -0500 |
commit | 96585f4463fcc076ec4f61301259033f6201ec83 (patch) | |
tree | 1578d8aa1785268defc7dc3efb58a73abe0df87e /app-admin/mcollective/mcollective-2.12.5.ebuild | |
parent | app-emulation/diskimage-builder: 2.27.0 stable amd64 and x86 with cleanup (diff) | |
download | gentoo-96585f4463fcc076ec4f61301259033f6201ec83.tar.gz gentoo-96585f4463fcc076ec4f61301259033f6201ec83.tar.bz2 gentoo-96585f4463fcc076ec4f61301259033f6201ec83.zip |
app-admin/mcollective: 2.12.5 bump with cleanup
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'app-admin/mcollective/mcollective-2.12.5.ebuild')
-rw-r--r-- | app-admin/mcollective/mcollective-2.12.5.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/mcollective/mcollective-2.12.5.ebuild b/app-admin/mcollective/mcollective-2.12.5.ebuild new file mode 100644 index 000000000000..f3db2424947f --- /dev/null +++ b/app-admin/mcollective/mcollective-2.12.5.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +USE_RUBY="ruby23 ruby24 ruby25" + +inherit ruby-ng + +DESCRIPTION="Framework to build server orchestration or parallel job execution +systems" +HOMEPAGE="https://docs.puppet.com/mcollective/" +SRC_URI="https://github.com/puppetlabs/marionette-collective/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/all/marionette-collective-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +client" + +DEPEND="" +RDEPEND=">=dev-ruby/stomp-1.4.4" + +src_compile() { + einfo "nothing to compile" +} + +each_ruby_install() { + cd "marionette-collective-${PV}" + doruby -r lib/* + insinto /usr/share/mcollective + use client && dosbin bin/mco + dosbin bin/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}" + sed -i -e "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \ + "${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed" + done + insinto /etc/mcollective/plugin.d +} + +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] https://activemq.apache.org/" + einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted" +} |