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: Wed, 24 Oct 2018 22:12:36
Message-Id: 1540419101.a091acb5eaa8ea5bffff891988491200f9f989de.prometheanfire@gentoo
1 commit: a091acb5eaa8ea5bffff891988491200f9f989de
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 24 22:08:50 2018 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 24 22:11:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a091acb5
7
8 app-admin/puppet-agent: 5.5.7 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-5.5.7.ebuild | 85 ++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index 88f3df49756..a21fcb81b54 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -2,5 +2,7 @@ DIST puppet-agent_5.5.4-1stretch_amd64.deb 17273314 BLAKE2B e296cda8219deafe9b36
22 DIST puppet-agent_5.5.4-1stretch_i386.deb 18195740 BLAKE2B aa1e5b7030de4ec58a389a552c0d2c870875244f6a722c9b87d4aca28261f073b347476aaa313edd4f66fa07621a333c777a3a6b04228aa7d2f35391f4f84df8 SHA512 3e7346ccde7d3bc9e99bb38a2958c9ddda3dd4a5124ced21dc048df41566a0d9e6d9e5250f7c93433c02585fd83031292f8197a7c6537a1563dd6ebec464b979
23 DIST puppet-agent_5.5.6-1stretch_amd64.deb 17279588 BLAKE2B d9614ee1cbec786303ac72fc9b704c90056771c9e3c23a93d6b7cff11f27394fbd277d5ae0d8eca20d9801d31019e7ca381af0cb60b72fc109ce6b2a99ee1124 SHA512 1172d72a1054cf04ab8033ab319313b7da6fd76684738bdb4aa1bc6bd9fa9dc0f2b00d765382023e0e854efbee6adba5b66bd62e2e04a9f153da79bccad427f7
24 DIST puppet-agent_5.5.6-1stretch_i386.deb 18195950 BLAKE2B 602a8409a6f0b5695f389604f82b8d6401db5d8abdd7148418bab6f09d64b285ff1c43870b144e863f148993b2e02c1abe11827e3e29ad5cf1314d7030cd5988 SHA512 f96bd2f4cbb2cec2405fdf87bb61711f8a750462d15e65507d37cc6cf6fa8f3a5e3a3d66abc74cfc02a109cc17c413e7f32c8d5f179468c84f6a86452ae38c40
25 +DIST puppet-agent_5.5.7-1stretch_amd64.deb 17300432 BLAKE2B 4c3b13361b9a97734a7b63ad94d1e96d9bcad284372d0b63a085c4415fa7c0433e66546bd43c99a82839837ed5a8683c6d2739d47b629f5580b8007219f06010 SHA512 fa17413afc2f2872963e241b38c2d7abe06ed37b0f01f2ace3cc6c31e53451291fe98905957377940b16d1b6926991ef39b556a4697e9ba06f10f62583f72c9e
26 +DIST puppet-agent_5.5.7-1stretch_i386.deb 18222282 BLAKE2B b9ce9269cc59d79450cb66c9c3e545ad4267ad1a43905df4ca57b45ad1213dd11c9ddcffb77719a151f52eb60d6792a486823ea4a29b2f4e83a2d62960c9691a SHA512 b65ecaf27c2bcc6556d7d43a0b78e282a64c72eed3b672af5d2e23c34eefe8134b6d4c60505f9d7c6e5b40ed4a1ad391128933c27710819f5078ec7d8680b6d4
27 DIST puppet-agent_6.0.2-1stretch_amd64.deb 17859762 BLAKE2B c787eb36bc1eacb544b669959d83539ba157702627a7cf925cd1be9e919604cd749f86a1635e9c0b53fe85f446e377fc61123ca259357f4a5781d0f8f406f365 SHA512 c0587cbf382258c73760837eab85985c2414ff59521bbed680b13b5d09ebb76a96cc52e553d68fb482f4b2d725b130fc3b747849637b4c73cb11b5f5cd266a44
28 DIST puppet-agent_6.0.2-1stretch_i386.deb 18596344 BLAKE2B 9f1f99e0c1033f621b3c50674f18e296e65b9addf82e61163e995f69eedbca97174a3ede6324e9bec1b46c4819a2c68892a4bdb7db8e81aba975bb6293c018df SHA512 9f2fc097ea2ef7c4411227ba97fa3371b98b3b3b4fb5e9c70a71ae87215e3c7b9fb5ee2cd58324bb24fb2352e34d4509165ca8e2c9c1144e89237307683a7dfd
29
30 diff --git a/app-admin/puppet-agent/puppet-agent-5.5.7.ebuild b/app-admin/puppet-agent/puppet-agent-5.5.7.ebuild
31 new file mode 100644
32 index 00000000000..ba2c3193b7e
33 --- /dev/null
34 +++ b/app-admin/puppet-agent/puppet-agent-5.5.7.ebuild
35 @@ -0,0 +1,85 @@
36 +# Copyright 1999-2018 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +inherit eutils systemd unpacker user
41 +
42 +DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
43 +HOMEPAGE="https://puppetlabs.com/"
44 +SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet5/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
45 +SRC_URI="
46 + amd64? ( ${SRC_BASE}_amd64.deb )
47 + x86? ( ${SRC_BASE}_i386.deb )"
48 +
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="puppetdb selinux"
53 +RESTRICT="strip"
54 +
55 +CDEPEND="!app-admin/augeas
56 + !app-admin/mcollective
57 + !app-admin/puppet
58 + !dev-ruby/hiera
59 + !dev-ruby/facter
60 + !app-emulation/virt-what"
61 +
62 +DEPEND="
63 + ${CDEPEND}"
64 +RDEPEND="${CDEPEND}
65 + app-portage/eix
66 + sys-apps/dmidecode
67 + sys-libs/glibc
68 + sys-libs/readline:0/7
69 + sys-libs/ncurses:0[tinfo]
70 + selinux? (
71 + sys-libs/libselinux[ruby]
72 + sec-policy/selinux-puppet
73 + )
74 + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
75 +
76 +S=${WORKDIR}
77 +
78 +pkg_setup() {
79 + enewgroup puppet
80 + enewuser puppet -1 -1 /var/run/puppet puppet
81 +}
82 +
83 +src_install() {
84 + # conf.d
85 + doconfd etc/default/puppet
86 + doconfd etc/default/mcollective
87 + doconfd etc/default/pxp-agent
88 + # logrotate.d
89 + insinto /etc/logrotate.d
90 + doins etc/logrotate.d/pxp-agent
91 + # puppet itself
92 + insinto /etc/puppetlabs
93 + doins -r etc/puppetlabs/*
94 + # logdir for systemd
95 + dodir var/log/puppetlabs/puppet/
96 + fperms 0750 var/log/puppetlabs/puppet/
97 + # the rest
98 + insinto /opt
99 + dodir opt/puppetlabs/puppet/cache
100 + doins -r opt/*
101 + fperms 0750 /opt/puppetlabs/puppet/cache
102 + # init
103 + newinitd "${FILESDIR}/puppet.initd" puppet
104 + newinitd "${FILESDIR}/mcollective.initd" mcollective
105 + systemd_dounit lib/systemd/system/puppet.service
106 + systemd_dounit lib/systemd/system/mcollective.service
107 + systemd_dounit lib/systemd/system/pxp-agent.service
108 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
109 + # symlinks
110 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
111 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
112 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
113 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
114 + dosym ../../opt/puppetlabs/bin/mco /usr/bin/mco
115 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
116 + dosym ../../opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
117 + dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
118 + dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
119 + dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
120 +}