Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet-agent/
Date: Fri, 30 Oct 2015 10:10:23
Message-Id: 1446199717.4d2c46c944e666850ed4c48ce0c78e2eb1d4296d.prometheanfire@gentoo
1 commit: 4d2c46c944e666850ed4c48ce0c78e2eb1d4296d
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 10:08:37 2015 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 10:08:37 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2c46c9
7
8 app-admin/puppet-agent: bup
9
10 Package-Manager: portage-2.2.20.1
11
12 app-admin/puppet-agent/Manifest | 2 +
13 app-admin/puppet-agent/puppet-agent-1.2.7.ebuild | 77 ++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
17 index 7d29ce7..e89ca8e 100644
18 --- a/app-admin/puppet-agent/Manifest
19 +++ b/app-admin/puppet-agent/Manifest
20 @@ -6,3 +6,5 @@ DIST puppet-agent_1.2.5-1wheezy_amd64.deb 15187830 SHA256 4d557e45571df033a9e1ba
21 DIST puppet-agent_1.2.5-1wheezy_i386.deb 15122650 SHA256 f34a6e9c70b5276806dacf64fb2b41fd927e6875071d044f9901c5a8d9dacd1d SHA512 0989501ca3f011601bb301126ad58084571ee67eb961fbf1f5cf002eb9155bf4f8e838452ac62b45472f00c0a7538cb5c72c3e43c651675a7940d8ab9a1a309c WHIRLPOOL f9698e3154254d9931fdbccd9a75edccae8ab799f8add0e32995453d62a0d070001ad858449c5b816c1b1a448beb8b99b180558feea3b36fc84c0e730e2d5b7e
22 DIST puppet-agent_1.2.6-1wheezy_amd64.deb 15187698 SHA256 3448a92d6761bc1c284b17508bf541b0a8c40394b03e7608826e4f2a900e40cc SHA512 b5e6e43f22728cd7d9f4d103aa4de8fa1eccb3159abc31a921fa8f387dd0436a8d0f915b38be8ce233e39448b94f30be90e18da4e2861d6aeda9ef8a312474d2 WHIRLPOOL eca0f32e11b29050e53d93d02a68e874cc5f0f90d823aa7ea5241599872ef39d65f45103542fac84083b40ec47cf09435f27c4fb91b5a5c9a4dee84aa50a2c41
23 DIST puppet-agent_1.2.6-1wheezy_i386.deb 15122826 SHA256 271d62f7f6634b49632308d95c75519620335d176d3ee694a3cee42bb445d658 SHA512 3eae7b5a112baf1123c6d942e0b60ee07d76b02a8313a7122884b66f08077fbe430447857e5862182de7cf64ef90f931a49936d6967134937ccff84dd419ae4c WHIRLPOOL bce7ce95c3f6c21ca658d7ba25b3cb7b04c20e5af5499e3f4efb1df997dedd01e0982c67da332fcd8da901f06ce8683219baa6c7e02a7a4eed5ce20547bcfa35
24 +DIST puppet-agent_1.2.7-1wheezy_amd64.deb 15280016 SHA256 c250bcdeb22296ef3b0097da507b32f1503abbff332c68df10291dcb975243ed SHA512 f2e8d37415d9b6c260c8b4fdee44cc1b85ab784b57c944b856082cc9a65b3de32985527a65aac49ae3c3eea54736bf3c26e11af91c09fd6bfb3b065e98ca99d0 WHIRLPOOL e6b62d968dd0a10031b42afd052c2a280e5d50caae5d51f493a3f432cb4f74ff783db8c4cb77fd2bb6defb4fd1743ce220bf9143fa7c1c02a1b8dffe01a474b2
25 +DIST puppet-agent_1.2.7-1wheezy_i386.deb 15214412 SHA256 c2b9f51cfe3d3e43b3cdfb7a1c6c92abaeaf2c4ab26e9ceac5aba2b58cf1480e SHA512 6950e09c49da35c0cf463364b4ec468ba011f15d3caf9c59c58ef01a0cfd859cb5c97a3271d9a11c958a71c4c77ba45a8dab205124b92a80354da519dc1a2f3c WHIRLPOOL 12ce6f5ba23f00d1320d7cd40734485ac69bdddda8a9711e18f3549c12919592ca27394963578c5850400864e2b524e7034833e8b2985b15f06bb66f06df1b75
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-1.2.7.ebuild b/app-admin/puppet-agent/puppet-agent-1.2.7.ebuild
28 new file mode 100644
29 index 0000000..7de77c5
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-1.2.7.ebuild
32 @@ -0,0 +1,77 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +inherit eutils systemd unpacker
39 +
40 +DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
41 +HOMEPAGE="https://puppetlabs.com/"
42 +SRC_BASE="http://apt.puppetlabs.com/pool/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
43 +SRC_URI="
44 + amd64? ( ${SRC_BASE}_amd64.deb )
45 + x86? ( ${SRC_BASE}_i386.deb )
46 +"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="puppetdb selinux"
52 +RESTRICT="strip"
53 +
54 +CDEPEND="!app-admin/augeas
55 + !app-admin/mcollective
56 + !app-admin/puppet
57 + !dev-ruby/hiera
58 + !dev-ruby/facter
59 + !app-emulation/virt-what"
60 +
61 +DEPEND="
62 + ${CDEPEND}"
63 +RDEPEND="${CDEPEND}
64 + sys-apps/dmidecode
65 + selinux? (
66 + sys-libs/libselinux[ruby]
67 + sec-policy/selinux-puppet
68 + )
69 + puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
70 +
71 +S=${WORKDIR}
72 +
73 +src_install() {
74 + # conf.d
75 + doconfd etc/default/puppet
76 + doconfd etc/default/mcollective
77 + # logrotate.d
78 + insinto /etc/logrotate.d
79 + doins etc/logrotate.d/mcollective
80 + # puppet itself
81 + insinto /etc/puppetlabs
82 + doins -r etc/puppetlabs/*
83 + # logdir for systemd
84 + dodir var/log/puppetlabs/puppet/
85 + fperms 0750 var/log/puppetlabs/puppet/
86 + # the rest
87 + insinto /opt
88 + dodir opt/puppetlabs/puppet/cache
89 + doins -r opt/*
90 + fperms 0750 /opt/puppetlabs/puppet/cache
91 + # init
92 + newinitd "${FILESDIR}/puppet.initd" puppet
93 + newinitd "${FILESDIR}/mcollective.initd" mcollective
94 + systemd_dounit "${FILESDIR}/puppet.service"
95 + systemd_dounit "${FILESDIR}/mcollective.service"
96 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
97 + # symlinks
98 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
99 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
100 + dosym /opt/puppetlabs/bin/facter /usr/bin/facter
101 + dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
102 + dosym /opt/puppetlabs/bin/mco /usr/bin/mco
103 + dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
104 + dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
105 + dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
106 + dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
107 + dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
108 + dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
109 +}