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: Thu, 21 Feb 2019 21:50:53
Message-Id: 1550785831.5fd63900f5c0e941afe79d452578c1ac61fdcbcf.prometheanfire@gentoo
1 commit: 5fd63900f5c0e941afe79d452578c1ac61fdcbcf
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 21 21:47:05 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 21 21:50:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd63900
7
8 app-admin/puppet-agent: 6.3.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.3.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 448ac935e3b..2d5bbf00838 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -6,3 +6,5 @@ DIST puppet-agent_6.1.0-1stretch_amd64.deb 17902402 BLAKE2B 4fb8a0e85fc4dcee0ad0
22 DIST puppet-agent_6.1.0-1stretch_i386.deb 18652482 BLAKE2B 42c03e6c1c6c86d54875a6fd79c4a67b9b83daef42415cd9c7f1fc445912f051be3c2cd21f804318779169eeabd1ec15b9a2fb5389601416aea44c2533c7a879 SHA512 d78e2fb3ec28bb60a46ba1dae8d4e1292ac9346a7471aa29af6cea1a249496c4d96e7ff006700482b08338d3155dbba653d86be0d65dc31c522dd8fb4b5b4dfa
23 DIST puppet-agent_6.2.0-1stretch_amd64.deb 18705508 BLAKE2B dbe52e4babaa47a7ae6532765e8d544b0088374c2d9dc1f9a052a462199560b4a1b36b61e2e0953b54937d0672a66124e640ff44deac5491e28fec5f8c162e51 SHA512 7235c8d2212377768438b0703064ef81ea1fc96473a84b1275ae7ccb63d74ad89a6c5721a61d009276df5a84947484928fa05acea20bc40bf2179f9fe9683cbb
24 DIST puppet-agent_6.2.0-1stretch_i386.deb 19232552 BLAKE2B 48000de3a47f6d9513cb33f5a9e4a889dcca5ab089680d0f03d85a6f96a8ec0dbe7610c0cb6e6ca5184d18ac8823602ca1fe56cdd6c48bee46faf19f0d775f55 SHA512 755f078d5e91982f6ab9c8b717e7635f533a40437b04a09ea097d87059d01a00120aaf31e6ca7d1cc32940be9491ba4fffc5f4fb82b0c4a263bf8638d5e1c15d
25 +DIST puppet-agent_6.3.0-1stretch_amd64.deb 18716014 BLAKE2B 914686e0229b40ea2e4f29c31556fdd289e7f556c471ea3e3a8cec887e1e1175ab5e23fc2605e3c156f9f571a8ff47b1a77b4f1173e41b923d7bd59592b575ed SHA512 fd5f39c4cb2fb040e45a0b2316857ad9da311532a9d1659f9df07ad57f85daec2e7674109c63885325c809e839b017b7b3d5ac57f9439e03b569203bf301851d
26 +DIST puppet-agent_6.3.0-1stretch_i386.deb 19243158 BLAKE2B 52c36e54ecb2e1fcc9ef5add8393533f68a21fde0f449b558d1fe58b066519138092e15c851e33580e9c2b943ef7a58b323cdd7bc1997faa273db4f518292465 SHA512 aba93bb2290879f5512f2429af658b137a3b5ae51ce9817fb701086be7abe4043b54d242fdc1310876b42124819885f8ab97c9fb6cc9113a50115bc071d42736
27
28 diff --git a/app-admin/puppet-agent/puppet-agent-6.3.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.3.0.ebuild
29 new file mode 100644
30 index 00000000000..a72df734d6b
31 --- /dev/null
32 +++ b/app-admin/puppet-agent/puppet-agent-6.3.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 +}