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: Wed, 18 Jul 2018 20:52:12
Message-Id: 1531947109.43d30f80c04b111fa35f0ae21f151afa1fe17379.prometheanfire@gentoo
1 commit: 43d30f80c04b111fa35f0ae21f151afa1fe17379
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 18 20:45:47 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 18 20:51:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d30f80
7
8 app-admin/puppet-agent: 5.5.4 bup
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 app-admin/puppet-agent/Manifest | 2 +
13 app-admin/puppet-agent/puppet-agent-5.5.4.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 c8d50af815c..6d3c13451af 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.1-1stretch_amd64.deb 17325604 BLAKE2B 1fab815d5d238cb6a05d
21 DIST puppet-agent_5.5.1-1stretch_i386.deb 18063690 BLAKE2B ea7c7068e57da1249c1b1c7232e1af673840b0c8c7e5795574ffcb1861c68683ac9f21f8f4216272130b12a61bb8b324e49d6bf7f0c3d314857fd2591a7ad6ff SHA512 1a64616191a5143b150fe1d145ea786233ab763e87d5fe86bd1b3306fa73bab60d2f3d5c0bb7fcb6fe7c700a47a4c94c72eef1509732b18a5caf0fcd7f060602
22 DIST puppet-agent_5.5.3-1stretch_amd64.deb 17272112 BLAKE2B 5e052f837184b1d1dd5965ccb18e3a52dc88ea6ba85c0c3c5222ffe50e32e0a72a6f14274f5dd6c1bd63b3a160affa8a6b3399ac75e27d9cc2c267a1e1c0e89d SHA512 1629b3535b900081676647f64c17e3c0d23df38525d90d5f3993877d0749d18cf55f72fb20c47e20a63d18c2c7ad95cc0f179449c386ce3b8ec8a6d0f40243e7
23 DIST puppet-agent_5.5.3-1stretch_i386.deb 18189670 BLAKE2B a8791926a5ce08edad363670ab5269fcef208c3137db4126f33295fd7fdd447620578445eb0a9396e263fed8612981581cef0c5f6d3e51634722c01c79e2c9dc SHA512 83a1f472c4af97a48703ca61a00740fc7806155732bd488d3f9d757f969dca0a19cec014dad0bb5e6d8b5384d32c2d906ad0e8438efeeae5fdd39524cc11f6f8
24 +DIST puppet-agent_5.5.4-1stretch_amd64.deb 17273314 BLAKE2B e296cda8219deafe9b36039298823edb6007f42047e90e120fc16e941bb91c8d660e1a7f1341aa9463c67d4a5e05fbd8bf9c072a7768b0e885536efe5956115c SHA512 599aef07bb39b8d209e806ea1539157419de96376113ba88de6160525e96d6fa28f9865d7a89aff96698a0ff4e85ec474dd43ff4ea512b06a64c491c252cd973
25 +DIST puppet-agent_5.5.4-1stretch_i386.deb 18195740 BLAKE2B aa1e5b7030de4ec58a389a552c0d2c870875244f6a722c9b87d4aca28261f073b347476aaa313edd4f66fa07621a333c777a3a6b04228aa7d2f35391f4f84df8 SHA512 3e7346ccde7d3bc9e99bb38a2958c9ddda3dd4a5124ced21dc048df41566a0d9e6d9e5250f7c93433c02585fd83031292f8197a7c6537a1563dd6ebec464b979
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-5.5.4.ebuild b/app-admin/puppet-agent/puppet-agent-5.5.4.ebuild
28 new file mode 100644
29 index 00000000000..5570060df99
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-5.5.4.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 +}