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, 21 Feb 2020 01:30:28
Message-Id: 1582248484.8b088e1e16125298395c0333d67279a7c46b4457.prometheanfire@gentoo
1 commit: 8b088e1e16125298395c0333d67279a7c46b4457
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 01:28:04 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 01:28:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b088e1e
7
8 app-admin/puppet-agent: 6.13.0 bump
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
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.13.0.ebuild | 75 +++++++++++++++++++++++
15 2 files changed, 77 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index d3596be6b61..0a4ed30d885 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -1,2 +1,4 @@
22 DIST puppet-agent_6.12.0-1stretch_amd64.deb 20011636 BLAKE2B f83b795f07771d70220cac71d9b6d8ac7270a20fd5b78471ccef1c8ff802af3c035477f7741e775b10bc609d016a6e9fb79b199987e34b7d4f9a427c4adcd39f SHA512 dda8fa45b961d4a775da7eb128887eee3ceb9887d1062bc2fc748f6055811600162dfb2c4fbf87e401ad404813d2de0cc58ce7aade0aa23af637bb3707896126
23 DIST puppet-agent_6.12.0-1stretch_i386.deb 20369446 BLAKE2B f01e39a1b307657569084e2ade1d41f17eefaa2048035f635437159e4373386c6413fa71756594d4a8748ffa0bbbdc2c54c72e696a390380bc9c57721ef010b3 SHA512 fc58e5ea22bd3dd36278db37e46d20809e284db5645ab680fb2c461ee9e4f9e635550f924278905ec13a8f9a71fbf604959e8522e4c0da52709c42f309a04921
24 +DIST puppet-agent_6.13.0-1stretch_amd64.deb 22432484 BLAKE2B 231f8683afbf4d2c5ded7bfec323baecbfd52446bb3483c2c16764bc57b79a18d256ecf94b27d4db1bbe88038d7f3eef037c500a39e3b66d641e4effa94cd2d3 SHA512 6101e84e5dbfa64bd336bb23595fe559165e4a159fa5de739aa1617e6825ab11ad62d1abbee26ff94b9f68caa7a192c0339a0c721efcc534ae9ddbba161af907
25 +DIST puppet-agent_6.13.0-1stretch_i386.deb 22787442 BLAKE2B 1bcea00b2da5c5b0db51fdd12d3828492a9a56af3a8c84919258ac7b90f7d135df708aba602a6d517364ac8b42f1ee3f1c11596cca0e89809a72d1d04c7ecc58 SHA512 55afd1ec6d331808a2a5adcd9c41803d932bcd7e2653da42c81c8ea1179649ae7ac642993813d527b2f365fb4f21d67015a0c2eb5379de2184585475521f8726
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-6.13.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.13.0.ebuild
28 new file mode 100644
29 index 00000000000..6ef50802412
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-6.13.0.ebuild
32 @@ -0,0 +1,75 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit eutils systemd unpacker
38 +
39 +DESCRIPTION="general puppet client utils along with hiera and facter"
40 +HOMEPAGE="https://puppetlabs.com/"
41 +SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
42 +SRC_URI="
43 + amd64? ( ${SRC_BASE}_amd64.deb )
44 + x86? ( ${SRC_BASE}_i386.deb )"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="puppetdb selinux"
50 +RESTRICT="strip"
51 +
52 +CDEPEND="!app-admin/puppet
53 + !dev-ruby/hiera
54 + !dev-ruby/facter
55 + !app-emulation/virt-what
56 + acct-user/puppet
57 + acct-group/puppet"
58 +
59 +DEPEND="
60 + ${CDEPEND}
61 + app-admin/augeas"
62 +RDEPEND="${CDEPEND}
63 + app-portage/eix
64 + sys-apps/dmidecode
65 + sys-libs/libselinux
66 + sys-libs/glibc
67 + sys-libs/readline:0/7
68 + sys-libs/ncurses:0[tinfo]
69 + selinux? (
70 + sys-libs/libselinux[ruby]
71 + sec-policy/selinux-puppet
72 + )
73 + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
74 +
75 +S=${WORKDIR}
76 +
77 +src_install() {
78 + # conf.d
79 + doconfd etc/default/puppet
80 + doconfd etc/default/pxp-agent
81 + # logrotate.d
82 + insinto /etc/logrotate.d
83 + doins etc/logrotate.d/pxp-agent
84 + # puppet itself
85 + insinto /etc/puppetlabs
86 + doins -r etc/puppetlabs/*
87 + # logdir for systemd
88 + dodir var/log/puppetlabs/puppet/
89 + fperms 0750 var/log/puppetlabs/puppet/
90 + # the rest
91 + insinto /opt
92 + dodir opt/puppetlabs/puppet/cache
93 + doins -r opt/*
94 + fperms 0750 /opt/puppetlabs/puppet/cache
95 + # init
96 + newinitd "${FILESDIR}/puppet.initd" puppet
97 + systemd_dounit lib/systemd/system/puppet.service
98 + systemd_dounit lib/systemd/system/pxp-agent.service
99 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
100 + # symlinks
101 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
102 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
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 ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
107 +}