1 |
commit: 633b8bd60b7ec52b1e8e7c6952053098f59578b8 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 25 19:57:41 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 25 19:58:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633b8bd6 |
7 |
|
8 |
app-admin/mcollective: 2.11.3 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
app-admin/mcollective/Manifest | 1 + |
13 |
app-admin/mcollective/mcollective-2.11.3.ebuild | 60 +++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/mcollective/Manifest b/app-admin/mcollective/Manifest |
17 |
index cfcda790247..44d898f5f30 100644 |
18 |
--- a/app-admin/mcollective/Manifest |
19 |
+++ b/app-admin/mcollective/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST mcollective-2.11.1.tar.gz 1516922 SHA256 d5e150408e61d51b3844e14c6304cf61f27243c5dc658e689bbaaee91dce6b0b SHA512 88d2511829936a5987c8ddab068f59d17f16230cb339801672238ae54ce2115e93d7271a78001176ccc203a1b70f7ee2f35992e414059f1db9cb05db210463e5 WHIRLPOOL cff40347c46464a18d6d98e3a3e2a7dab4169f5c0e1b60f08f3292cc87adcc123fc423203d664bcee1dac47a1dd44e44726702de5c2ea0ed0c5e55d8dbe0b45a |
22 |
DIST mcollective-2.11.2.tar.gz 1516590 SHA256 aa3664d5ba2d4d20e448c374c315c91d55b5bb43918a04092747a4052bc3f969 SHA512 1dc393fa1a09c5151b64b84086ef9af934feeebd2700a00cc4c84696fa2a25d90a410a373b553198f5fda6e1e36808ffb8dc38edcb15bb9e4253998aa7504439 WHIRLPOOL f808d4f9ffbf733842dd29f8e0548b90a4705f8b502dcc62509380b013d69de786204025490d4fb67d657e5c6597fb0d3ffdac2724e8dbca6347511ef50be54a |
23 |
+DIST mcollective-2.11.3.tar.gz 1516665 SHA256 b9080779fa56c2b77a3f37404b3ac933183e0b0940e6086b0060be2c44aa38d3 SHA512 f5e26dff03f7a671db5de12acba1ce726c8d57fb99831ddbb258da5ba297ade31ea991840fa63cb1ba261281f7f6167a8492c8764a13cc332202ccb9c88d79b8 WHIRLPOOL 69e384489c8138aecc0c404dc9a08e5d92e09deab05a43ab4781b77506f4fe6f3bbd1a9ec9399a59e8a7c89d3462d3062d73a50fae490215628826c2794bd9ff |
24 |
|
25 |
diff --git a/app-admin/mcollective/mcollective-2.11.3.ebuild b/app-admin/mcollective/mcollective-2.11.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..795e3790264 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/mcollective/mcollective-2.11.3.ebuild |
30 |
@@ -0,0 +1,60 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+ |
36 |
+USE_RUBY="ruby21 ruby22 ruby23" |
37 |
+ |
38 |
+inherit ruby-ng |
39 |
+ |
40 |
+DESCRIPTION="Framework to build server orchestration or parallel job execution |
41 |
+systems" |
42 |
+HOMEPAGE="https://docs.puppet.com/mcollective/" |
43 |
+SRC_URI="https://github.com/puppetlabs/marionette-collective/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+S="${WORKDIR}/all/marionette-collective-${PV}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="doc +client" |
50 |
+ |
51 |
+DEPEND="" |
52 |
+RDEPEND="dev-ruby/stomp" |
53 |
+ |
54 |
+src_compile() { |
55 |
+ einfo "nothing to compile" |
56 |
+} |
57 |
+ |
58 |
+each_ruby_install() { |
59 |
+ cd "marionette-collective-${PV}" |
60 |
+ doruby -r lib/* |
61 |
+ insinto /usr/share/mcollective |
62 |
+ use client && dosbin bin/mco |
63 |
+ dosbin bin/mcollectived |
64 |
+ if use doc ; then |
65 |
+ dohtml -r doc/* |
66 |
+ insinto /usr/share/doc/${P}/ext |
67 |
+ doins -r ext/* |
68 |
+ fi |
69 |
+ newinitd "${FILESDIR}"/mcollectived.initd mcollectived |
70 |
+ insinto /etc/mcollective |
71 |
+ cd etc |
72 |
+ for cfg in *.dist ; do |
73 |
+ newins "${cfg}" "${cfg%%.dist}" |
74 |
+ sed -i -e "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \ |
75 |
+ "${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed" |
76 |
+ done |
77 |
+ insinto /etc/mcollective/plugin.d |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ einfo "Mcollective requires a stomp server installed and functioning before" |
82 |
+ einfo "you can use it. The recommended server to use is ActiveMQ [1] but" |
83 |
+ einfo "any other stomp compatible server should work." |
84 |
+ einfo |
85 |
+ einfo "It is recommended you read the \'getting started\' guide [2] if this" |
86 |
+ einfo "is a new installation" |
87 |
+ einfo |
88 |
+ einfo "[1] https://activemq.apache.org/" |
89 |
+ einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted" |
90 |
+} |