Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet-agent/
Date: Tue, 29 Jan 2019 03:34:21
Message-Id: 1548732845.6f53f43b64aab9c457cffa21d612d2e7d6d8ced5.prometheanfire@gentoo
1 commit: 6f53f43b64aab9c457cffa21d612d2e7d6d8ced5
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 29 03:33:43 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 29 03:34:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f53f43b
7
8 app-admin/puppet-agent: 6.2.0 bump
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-admin/puppet-agent/Manifest | 2 +
14 app-admin/puppet-agent/puppet-agent-6.2.0.ebuild | 79 ++++++++++++++++++++++++
15 2 files changed, 81 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index 206c7477de0..448ac935e3b 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -4,3 +4,5 @@ DIST puppet-agent_5.5.8-1stretch_amd64.deb 17302932 BLAKE2B 4ff925477f74e5ecb773
22 DIST puppet-agent_5.5.8-1stretch_i386.deb 18221644 BLAKE2B fcacbae34bdb6fa18eff344123908880de2e5025ccddd25ee751c5c2b229ff8b63c66d482d4e8139b0d263edeff78771459cd90beff36136a553b039a7c417a9 SHA512 e00c04eacea360619f9fa4e016b8421fbf44127f979ed772e06cef21a15261a7d201abb9bcde30d8bb4e36a4b37d38d67814b2c1077b33ee6e6404c898c53e32
23 DIST puppet-agent_6.1.0-1stretch_amd64.deb 17902402 BLAKE2B 4fb8a0e85fc4dcee0ad08ca45b90ddafca3ae3f605bc9b461be2e2b31a35412c23229f8ea58a7c2ce97df2f3951598529df874911bc446d7f5f41a1f36b0cc0d SHA512 6f5ae6ee3479021ff455c7b9344cd54a3d0a7ecf57b2403343297b1d1d017e995eacf0fed210976db799b9e833b26557917ca4319ffd01dffeb92d2a9418b7c9
24 DIST puppet-agent_6.1.0-1stretch_i386.deb 18652482 BLAKE2B 42c03e6c1c6c86d54875a6fd79c4a67b9b83daef42415cd9c7f1fc445912f051be3c2cd21f804318779169eeabd1ec15b9a2fb5389601416aea44c2533c7a879 SHA512 d78e2fb3ec28bb60a46ba1dae8d4e1292ac9346a7471aa29af6cea1a249496c4d96e7ff006700482b08338d3155dbba653d86be0d65dc31c522dd8fb4b5b4dfa
25 +DIST puppet-agent_6.2.0-1stretch_amd64.deb 18705508 BLAKE2B dbe52e4babaa47a7ae6532765e8d544b0088374c2d9dc1f9a052a462199560b4a1b36b61e2e0953b54937d0672a66124e640ff44deac5491e28fec5f8c162e51 SHA512 7235c8d2212377768438b0703064ef81ea1fc96473a84b1275ae7ccb63d74ad89a6c5721a61d009276df5a84947484928fa05acea20bc40bf2179f9fe9683cbb
26 +DIST puppet-agent_6.2.0-1stretch_i386.deb 19232552 BLAKE2B 48000de3a47f6d9513cb33f5a9e4a889dcca5ab089680d0f03d85a6f96a8ec0dbe7610c0cb6e6ca5184d18ac8823602ca1fe56cdd6c48bee46faf19f0d775f55 SHA512 755f078d5e91982f6ab9c8b717e7635f533a40437b04a09ea097d87059d01a00120aaf31e6ca7d1cc32940be9491ba4fffc5f4fb82b0c4a263bf8638d5e1c15d
27
28 diff --git a/app-admin/puppet-agent/puppet-agent-6.2.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.2.0.ebuild
29 new file mode 100644
30 index 00000000000..a72df734d6b
31 --- /dev/null
32 +++ b/app-admin/puppet-agent/puppet-agent-6.2.0.ebuild
33 @@ -0,0 +1,79 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +inherit eutils systemd unpacker user
39 +
40 +DESCRIPTION="general puppet client utils along with hiera and facter"
41 +HOMEPAGE="https://puppetlabs.com/"
42 +SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
43 +SRC_URI="
44 + amd64? ( ${SRC_BASE}_amd64.deb )
45 + x86? ( ${SRC_BASE}_i386.deb )"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="puppetdb selinux"
51 +RESTRICT="strip"
52 +
53 +CDEPEND="!app-admin/augeas
54 + !app-admin/puppet
55 + !dev-ruby/hiera
56 + !dev-ruby/facter
57 + !app-emulation/virt-what"
58 +
59 +DEPEND="
60 + ${CDEPEND}"
61 +RDEPEND="${CDEPEND}
62 + app-portage/eix
63 + sys-apps/dmidecode
64 + sys-libs/glibc
65 + sys-libs/readline:0/7
66 + sys-libs/ncurses:0[tinfo]
67 + selinux? (
68 + sys-libs/libselinux[ruby]
69 + sec-policy/selinux-puppet
70 + )
71 + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
72 +
73 +S=${WORKDIR}
74 +
75 +pkg_setup() {
76 + enewgroup puppet
77 + enewuser puppet -1 -1 /var/run/puppet puppet
78 +}
79 +
80 +src_install() {
81 + # conf.d
82 + doconfd etc/default/puppet
83 + doconfd etc/default/pxp-agent
84 + # logrotate.d
85 + insinto /etc/logrotate.d
86 + doins etc/logrotate.d/pxp-agent
87 + # puppet itself
88 + insinto /etc/puppetlabs
89 + doins -r etc/puppetlabs/*
90 + # logdir for systemd
91 + dodir var/log/puppetlabs/puppet/
92 + fperms 0750 var/log/puppetlabs/puppet/
93 + # the rest
94 + insinto /opt
95 + dodir opt/puppetlabs/puppet/cache
96 + doins -r opt/*
97 + fperms 0750 /opt/puppetlabs/puppet/cache
98 + # init
99 + newinitd "${FILESDIR}/puppet.initd" puppet
100 + systemd_dounit lib/systemd/system/puppet.service
101 + systemd_dounit lib/systemd/system/pxp-agent.service
102 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
103 + # symlinks
104 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
105 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
106 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
107 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
108 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
109 + dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
110 + dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
111 + dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
112 +}