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, 25 Oct 2018 17:47:41
Message-Id: 1540489633.b0e1db50db65c294e2b175c6d79b7111454a7101.prometheanfire@gentoo
1 commit: b0e1db50db65c294e2b175c6d79b7111454a7101
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 25 17:47:13 2018 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 25 17:47:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e1db50
7
8 app-admin/puppet-agent: 6.0.3 bump
9
10 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 app-admin/puppet-agent/Manifest | 2 +
14 app-admin/puppet-agent/puppet-agent-6.0.3.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 a21fcb81b54..8b2de5b281d 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -6,3 +6,5 @@ DIST puppet-agent_5.5.7-1stretch_amd64.deb 17300432 BLAKE2B 4c3b13361b9a97734a7b
22 DIST puppet-agent_5.5.7-1stretch_i386.deb 18222282 BLAKE2B b9ce9269cc59d79450cb66c9c3e545ad4267ad1a43905df4ca57b45ad1213dd11c9ddcffb77719a151f52eb60d6792a486823ea4a29b2f4e83a2d62960c9691a SHA512 b65ecaf27c2bcc6556d7d43a0b78e282a64c72eed3b672af5d2e23c34eefe8134b6d4c60505f9d7c6e5b40ed4a1ad391128933c27710819f5078ec7d8680b6d4
23 DIST puppet-agent_6.0.2-1stretch_amd64.deb 17859762 BLAKE2B c787eb36bc1eacb544b669959d83539ba157702627a7cf925cd1be9e919604cd749f86a1635e9c0b53fe85f446e377fc61123ca259357f4a5781d0f8f406f365 SHA512 c0587cbf382258c73760837eab85985c2414ff59521bbed680b13b5d09ebb76a96cc52e553d68fb482f4b2d725b130fc3b747849637b4c73cb11b5f5cd266a44
24 DIST puppet-agent_6.0.2-1stretch_i386.deb 18596344 BLAKE2B 9f1f99e0c1033f621b3c50674f18e296e65b9addf82e61163e995f69eedbca97174a3ede6324e9bec1b46c4819a2c68892a4bdb7db8e81aba975bb6293c018df SHA512 9f2fc097ea2ef7c4411227ba97fa3371b98b3b3b4fb5e9c70a71ae87215e3c7b9fb5ee2cd58324bb24fb2352e34d4509165ca8e2c9c1144e89237307683a7dfd
25 +DIST puppet-agent_6.0.3-1stretch_amd64.deb 17876404 BLAKE2B 06f4a951270b96e93ff72c5e0e1deb8c2e21588a424e06d9619397586d2c92367debab0d552df0c88bd2ccc53644c53b1117f2826d01e2feeab94934505e3700 SHA512 1dfbd1a9266f0d092d71071e9d6c271e2ca9ff6a8457699a9561a8f5ad2be05ef779f80d5dac3dbe3744dad30b66bd98dd593ca7e7f2696183eb30edb430bf4c
26 +DIST puppet-agent_6.0.3-1stretch_i386.deb 18615216 BLAKE2B 8fd3e6344fd9773dae7bc1bd94543cfbe7f71158423b00aac01be4c3e911c6576ea159fc5cbf88ff5342e8b7e13d14fa23524771b33688ac828b40df508bd613 SHA512 9aea3b90693a566fe9f285da60772f739c07d7cc40abaa6a98bc0e4d2d2eba1178c01a6e8d4b2a48b6f0009d3bef8434412b2eeb5876966249fd872ef8bda159
27
28 diff --git a/app-admin/puppet-agent/puppet-agent-6.0.3.ebuild b/app-admin/puppet-agent/puppet-agent-6.0.3.ebuild
29 new file mode 100644
30 index 00000000000..4ad0513947d
31 --- /dev/null
32 +++ b/app-admin/puppet-agent/puppet-agent-6.0.3.ebuild
33 @@ -0,0 +1,79 @@
34 +# Copyright 1999-2018 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
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 +}