Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet-agent/
Date: Thu, 23 Aug 2018 16:11:33
Message-Id: 1535040275.7563da40e07f1762f6c5c98f52f714c76aa78587.prometheanfire@gentoo
1 commit: 7563da40e07f1762f6c5c98f52f714c76aa78587
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 23 16:04:35 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 23 16:04:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7563da40
7
8 app-admin/puppet-agent: 5.5.6 bump
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 app-admin/puppet-agent/Manifest | 2 +
13 app-admin/puppet-agent/puppet-agent-5.5.6.ebuild | 85 ++++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
17 index cf187936bdc..e0951a8796f 100644
18 --- a/app-admin/puppet-agent/Manifest
19 +++ b/app-admin/puppet-agent/Manifest
20 @@ -4,3 +4,5 @@ DIST puppet-agent_5.5.3-1stretch_amd64.deb 17272112 BLAKE2B 5e052f837184b1d1dd59
21 DIST puppet-agent_5.5.3-1stretch_i386.deb 18189670 BLAKE2B a8791926a5ce08edad363670ab5269fcef208c3137db4126f33295fd7fdd447620578445eb0a9396e263fed8612981581cef0c5f6d3e51634722c01c79e2c9dc SHA512 83a1f472c4af97a48703ca61a00740fc7806155732bd488d3f9d757f969dca0a19cec014dad0bb5e6d8b5384d32c2d906ad0e8438efeeae5fdd39524cc11f6f8
22 DIST puppet-agent_5.5.4-1stretch_amd64.deb 17273314 BLAKE2B e296cda8219deafe9b36039298823edb6007f42047e90e120fc16e941bb91c8d660e1a7f1341aa9463c67d4a5e05fbd8bf9c072a7768b0e885536efe5956115c SHA512 599aef07bb39b8d209e806ea1539157419de96376113ba88de6160525e96d6fa28f9865d7a89aff96698a0ff4e85ec474dd43ff4ea512b06a64c491c252cd973
23 DIST puppet-agent_5.5.4-1stretch_i386.deb 18195740 BLAKE2B aa1e5b7030de4ec58a389a552c0d2c870875244f6a722c9b87d4aca28261f073b347476aaa313edd4f66fa07621a333c777a3a6b04228aa7d2f35391f4f84df8 SHA512 3e7346ccde7d3bc9e99bb38a2958c9ddda3dd4a5124ced21dc048df41566a0d9e6d9e5250f7c93433c02585fd83031292f8197a7c6537a1563dd6ebec464b979
24 +DIST puppet-agent_5.5.6-1stretch_amd64.deb 17279588 BLAKE2B d9614ee1cbec786303ac72fc9b704c90056771c9e3c23a93d6b7cff11f27394fbd277d5ae0d8eca20d9801d31019e7ca381af0cb60b72fc109ce6b2a99ee1124 SHA512 1172d72a1054cf04ab8033ab319313b7da6fd76684738bdb4aa1bc6bd9fa9dc0f2b00d765382023e0e854efbee6adba5b66bd62e2e04a9f153da79bccad427f7
25 +DIST puppet-agent_5.5.6-1stretch_i386.deb 18195950 BLAKE2B 602a8409a6f0b5695f389604f82b8d6401db5d8abdd7148418bab6f09d64b285ff1c43870b144e863f148993b2e02c1abe11827e3e29ad5cf1314d7030cd5988 SHA512 f96bd2f4cbb2cec2405fdf87bb61711f8a750462d15e65507d37cc6cf6fa8f3a5e3a3d66abc74cfc02a109cc17c413e7f32c8d5f179468c84f6a86452ae38c40
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-5.5.6.ebuild b/app-admin/puppet-agent/puppet-agent-5.5.6.ebuild
28 new file mode 100644
29 index 00000000000..5570060df99
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-5.5.6.ebuild
32 @@ -0,0 +1,85 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit eutils systemd unpacker user
38 +
39 +DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
40 +HOMEPAGE="https://puppetlabs.com/"
41 +SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet5/${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/augeas
53 + !app-admin/mcollective
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/mcollective
84 + doconfd etc/default/pxp-agent
85 + # logrotate.d
86 + insinto /etc/logrotate.d
87 + doins etc/logrotate.d/pxp-agent
88 + # puppet itself
89 + insinto /etc/puppetlabs
90 + doins -r etc/puppetlabs/*
91 + # logdir for systemd
92 + dodir var/log/puppetlabs/puppet/
93 + fperms 0750 var/log/puppetlabs/puppet/
94 + # the rest
95 + insinto /opt
96 + dodir opt/puppetlabs/puppet/cache
97 + doins -r opt/*
98 + fperms 0750 /opt/puppetlabs/puppet/cache
99 + # init
100 + newinitd "${FILESDIR}/puppet.initd" puppet
101 + newinitd "${FILESDIR}/mcollective.initd" mcollective
102 + systemd_dounit lib/systemd/system/puppet.service
103 + systemd_dounit lib/systemd/system/mcollective.service
104 + systemd_dounit lib/systemd/system/pxp-agent.service
105 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
106 + # symlinks
107 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
108 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
109 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
110 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
111 + dosym ../../opt/puppetlabs/bin/mco /usr/bin/mco
112 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
113 + dosym ../../opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
114 + dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
115 + dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
116 + dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
117 +}