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: Fri, 17 Sep 2021 21:37:41
Message-Id: 1631914649.578bd26af5cd42439b0442d22dcf0bf825813b1a.prometheanfire@gentoo
1 commit: 578bd26af5cd42439b0442d22dcf0bf825813b1a
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 21:32:06 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 21:37:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=578bd26a
7
8 app-admin/puppet-agent: 7.11.0 bump
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-admin/puppet-agent/Manifest | 1 +
14 app-admin/puppet-agent/puppet-agent-7.11.0.ebuild | 78 +++++++++++++++++++++++
15 2 files changed, 79 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index 8d2c8d6c1ad..17e880c5d05 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -1,4 +1,5 @@
22 DIST puppet-agent_6.19.1-1focal_amd64.deb 22221600 BLAKE2B 22b03ef1f86b34955e8bad7c63a2022d2832dadd554316baf75419d6543e8a569902fb92a81a3dcc817401f06aa7dd47143a6cbd383f0e531c465cd3203dc4ed SHA512 4819a3509066516b0be76bc0f2afe94611405f7ac52fe50890d57c86a8a9c6c70787d46cb4b77085666f3e74bcb83a11acf1fef5d1e6ed3151ea06cbb8df3170
23 DIST puppet-agent_7.10.0-1focal_amd64.deb 20964600 BLAKE2B 160a5abf3dccb57b325283f9ec6f908be73aaa065787bc6cefe2db0fbfd67145a42cab1a763e2e14c64b7902c50814b09a4b4763aaa504536f289b485cd41a6b SHA512 88c2907e47ad3009c9ce9089d3fb91da68c6c80d9d50fbf714332f2f637ad69adc122a88042cac020ae9c637b07e6569ffab7998ca08aa57a67254748cce5d30
24 +DIST puppet-agent_7.11.0-1focal_amd64.deb 20968988 BLAKE2B 41c1464290fc38b9bb2a79384c6c427ec8cd1332b3ccba155cb26d43a87b36931415d3a54a10ae8f6a1322f02eeaef27147d4af7304f541ce38e668b072cc03c SHA512 38024f80af5ef69a1db22f9ed90b7b00af5183988b2029fa63a8b2fa1de1c189ba164d8cd450156c4d822a3e6404e5933ca09efdd4eeee7188c99791991a9921
25 DIST puppet-agent_7.8.0-1focal_amd64.deb 20931500 BLAKE2B 3c521631fb96440e51ad82c3665f07a5ee9cba1d978fccbe9388684ad0c211138f022017ff49b92818cfc8f50ebed0a996c9321918413e4a1c7ca0f5a2f68f8a SHA512 f0cd9951b54bc9aacce987ea10e9257db9432620f50657ca220ea8b7b4aad1c5ddebd6f5e89c5bdee837b0f928bbebe375afdb72652eb33ee22e3778498aafa1
26 DIST puppet-agent_7.9.0-1focal_amd64.deb 20934808 BLAKE2B 4b5c529e1a5cb5877a753b09a477fc08e7ca7a93c3b1dae5062864d2887adea584075f4ca6b963e01cb5121ce06008182cfc39124b9e22559899beb03855240f SHA512 b6c94b65febd6b76f1ab7af5f4f5238fb314b2abb226dd5828f09ca46fdf4cd22641f765ea338b3aeb7ccf6e0fe37d5682586fbef7dc27b51a654ded6f774495
27
28 diff --git a/app-admin/puppet-agent/puppet-agent-7.11.0.ebuild b/app-admin/puppet-agent/puppet-agent-7.11.0.ebuild
29 new file mode 100644
30 index 00000000000..c24ff0f353a
31 --- /dev/null
32 +++ b/app-admin/puppet-agent/puppet-agent-7.11.0.ebuild
33 @@ -0,0 +1,78 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +inherit systemd unpacker tmpfiles
39 +
40 +DESCRIPTION="general puppet client utils along with hiera and facter"
41 +HOMEPAGE="https://puppetlabs.com/"
42 +SRC_URI="http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="puppetdb selinux"
48 +RESTRICT="strip"
49 +
50 +CDEPEND="!app-admin/puppet
51 + !dev-ruby/hiera
52 + !dev-ruby/facter
53 + app-emulation/virt-what
54 + acct-user/puppet
55 + acct-group/puppet"
56 +
57 +DEPEND="
58 + ${CDEPEND}
59 + app-admin/augeas"
60 +RDEPEND="${CDEPEND}
61 + app-portage/eix
62 + sys-apps/dmidecode
63 + sys-libs/libselinux
64 + sys-libs/glibc
65 + sys-libs/readline:0/8
66 + sys-libs/libxcrypt[compat]
67 + sys-libs/ncurses:0[tinfo]
68 + selinux? (
69 + sys-libs/libselinux[ruby]
70 + sec-policy/selinux-puppet
71 + )
72 + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
73 +
74 +S=${WORKDIR}
75 +
76 +QA_PREBUILT="*"
77 +
78 +src_install() {
79 + # conf.d
80 + doconfd etc/default/puppet
81 + doconfd etc/default/pxp-agent
82 + # logrotate.d
83 + insinto /etc/logrotate.d
84 + doins etc/logrotate.d/pxp-agent
85 + # puppet itself
86 + insinto /etc/puppetlabs
87 + doins -r etc/puppetlabs/*
88 + # logdir for systemd
89 + keepdir var/log/puppetlabs/puppet/
90 + chmod 0750 var/log/puppetlabs/puppet/
91 + # the rest
92 + insinto /opt
93 + dodir opt/puppetlabs/puppet/cache
94 + doins -r opt/*
95 + fperms 0750 /opt/puppetlabs/puppet/cache
96 + # init
97 + newinitd "${FILESDIR}/puppet.initd2" puppet
98 + systemd_dounit lib/systemd/system/puppet.service
99 + systemd_dounit lib/systemd/system/pxp-agent.service
100 + newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
101 + # symlinks
102 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
103 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
104 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
105 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
106 + dosym ../../../../usr/lib/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
107 +}
108 +
109 +pkg_postinst() {
110 + tmpfiles_process puppet-agent.conf
111 +}