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, 03 Oct 2019 23:19:30
Message-Id: 1570144749.13194402d1d6891dde3960f6934ac37aef4dbc28.prometheanfire@gentoo
1 commit: 13194402d1d6891dde3960f6934ac37aef4dbc28
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 3 23:06:42 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 3 23:19:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13194402
7
8 app-admin/puppet-agent: 6.10.0 bump
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
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.10.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 ee5edccb7ea..323a1541442 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -1,3 +1,5 @@
22 +DIST puppet-agent_6.10.0-1stretch_amd64.deb 19699044 BLAKE2B 06345d1178cd9fe15f7ae5a56676764517de6587f238a35212845b89a8ac17664cf88821dcfd7fc51de6809104e1e6e6ee22512b7b007ddcd866d898bbc1b461 SHA512 d3bfeb31d769efec58584e582e62b880d399905abf742f394d2a1fc022647ffca14f9ea208a27dbf57cd6ab530737524ca57f021a27dc1a96d105a5dbe1ceded
23 +DIST puppet-agent_6.10.0-1stretch_i386.deb 20013932 BLAKE2B f19775e2557cbb69ab1f539def040ef7109ee271a44aee1f6ce5dc685b86b78dc0c69fbaee7f29fd054079311169e47bd26f71e154fbe623fdc29489eab67ae5 SHA512 5d0d782c92d392c35a1283e9dd3d4230a657151424838ae3f5f87a6f76c822457e7ad26b7399a2f6e3152e91b23df88767dd18b936dab06939475285dac82e39
24 DIST puppet-agent_6.7.2-1stretch_amd64.deb 19184682 BLAKE2B 6078c1b21f0e737881d949cfaf052571b40df450e53724696e2738141da30e59da7abf03ce00285ab77fd4ac52291ab6e42da373420807499f37b75c872fa83e SHA512 1c464448b1478397af7b806f8bfcaee0378af9d4b6bfa5a73e8245064329b1b49136107c5fcbaea0ef6cd4e1daf840d1ba331e798b2cd255ead54969520315c9
25 DIST puppet-agent_6.7.2-1stretch_i386.deb 19452604 BLAKE2B 1915e7b7085db6cb87980a98a7cb85881331719e2af98b07f8461514a0296b3cf5181eb88f78893055a0fa09fc2ffce0e81e866db27abcecf9d8f745e329311c SHA512 8d89735601c9764e207eef77f5d42e836ee9d7c0c0f2856e0f293919cce52e7a42fc28fca42bd0e0bed760063aae527007ef7ce25503ce05fcfd495a44243ee3
26 DIST puppet-agent_6.8.0-1stretch_amd64.deb 19184708 BLAKE2B ac961857784eaaa55604285cf305dac437007628ea5baa3c3ae9a8a345fcb8cf2b20820bd80cc2c96afb77cb03c4d2779b17b1183c9bc9461b56860d2179f448 SHA512 707146f71b21df4b89244df7b786f481136cfe7b0cabf20aa0d4784aca547ba85c75d13309b77c853b9e034b8271f350b30bc5358010d90b7573e3fdb63c31b6
27
28 diff --git a/app-admin/puppet-agent/puppet-agent-6.10.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.10.0.ebuild
29 new file mode 100644
30 index 00000000000..a72df734d6b
31 --- /dev/null
32 +++ b/app-admin/puppet-agent/puppet-agent-6.10.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 +}