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, 11 Mar 2020 05:03:11
Message-Id: 1583902979.daefb3eaec6ca0653b205dd85dbce49ce8af3779.prometheanfire@gentoo
1 commit: daefb3eaec6ca0653b205dd85dbce49ce8af3779
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 11 04:59:05 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 11 05:02:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daefb3ea
7
8 app-admin/puppet-agent: 6.14.0 bump
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
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.14.0.ebuild | 75 +++++++++++++++++++++++
15 2 files changed, 77 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index 00b406eabb8..4e20fa4b6ef 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -1,2 +1,4 @@
22 DIST puppet-agent_6.13.0-1stretch_amd64.deb 22432484 BLAKE2B 231f8683afbf4d2c5ded7bfec323baecbfd52446bb3483c2c16764bc57b79a18d256ecf94b27d4db1bbe88038d7f3eef037c500a39e3b66d641e4effa94cd2d3 SHA512 6101e84e5dbfa64bd336bb23595fe559165e4a159fa5de739aa1617e6825ab11ad62d1abbee26ff94b9f68caa7a192c0339a0c721efcc534ae9ddbba161af907
23 DIST puppet-agent_6.13.0-1stretch_i386.deb 22787442 BLAKE2B 1bcea00b2da5c5b0db51fdd12d3828492a9a56af3a8c84919258ac7b90f7d135df708aba602a6d517364ac8b42f1ee3f1c11596cca0e89809a72d1d04c7ecc58 SHA512 55afd1ec6d331808a2a5adcd9c41803d932bcd7e2653da42c81c8ea1179649ae7ac642993813d527b2f365fb4f21d67015a0c2eb5379de2184585475521f8726
24 +DIST puppet-agent_6.14.0-1stretch_amd64.deb 22450130 BLAKE2B fe6e30d99357328a884944e59d7cb1c66ad9fc36642ba377ed99e23551c5cbf06cffc4336b47440389fee7a9f1996b8325d18335768187f5d052fcecae041f5b SHA512 41d87f1ab4ead019eb5ef90ad21e557db686729151618e4ec642ea6636feda383874f7d457de7e9e323cf44d9d410e7fb650edd6e69b186c2fdff5657955ac5a
25 +DIST puppet-agent_6.14.0-1stretch_i386.deb 22792198 BLAKE2B 7638fd1edfeb22377ab22484dd0fd5377bab6ee5e3e01c64ffd8eae29b08e0182204446db23d8cf68018a58c2419ce22c4dda4fd10a6dfac64356d68a5478bfa SHA512 dc787dfeb2565fde00da6e991fb94435c56e804657a38268ad49d72783b9857de4e359d6d9002525759684ddcb48a00e2fdb73f069cd79da74237bcb9530a116
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-6.14.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.14.0.ebuild
28 new file mode 100644
29 index 00000000000..6ef50802412
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-6.14.0.ebuild
32 @@ -0,0 +1,75 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit eutils systemd unpacker
38 +
39 +DESCRIPTION="general puppet client utils along with hiera and facter"
40 +HOMEPAGE="https://puppetlabs.com/"
41 +SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${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/puppet
53 + !dev-ruby/hiera
54 + !dev-ruby/facter
55 + !app-emulation/virt-what
56 + acct-user/puppet
57 + acct-group/puppet"
58 +
59 +DEPEND="
60 + ${CDEPEND}
61 + app-admin/augeas"
62 +RDEPEND="${CDEPEND}
63 + app-portage/eix
64 + sys-apps/dmidecode
65 + sys-libs/libselinux
66 + sys-libs/glibc
67 + sys-libs/readline:0/7
68 + sys-libs/ncurses:0[tinfo]
69 + selinux? (
70 + sys-libs/libselinux[ruby]
71 + sec-policy/selinux-puppet
72 + )
73 + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
74 +
75 +S=${WORKDIR}
76 +
77 +src_install() {
78 + # conf.d
79 + doconfd etc/default/puppet
80 + doconfd etc/default/pxp-agent
81 + # logrotate.d
82 + insinto /etc/logrotate.d
83 + doins etc/logrotate.d/pxp-agent
84 + # puppet itself
85 + insinto /etc/puppetlabs
86 + doins -r etc/puppetlabs/*
87 + # logdir for systemd
88 + dodir var/log/puppetlabs/puppet/
89 + fperms 0750 var/log/puppetlabs/puppet/
90 + # the rest
91 + insinto /opt
92 + dodir opt/puppetlabs/puppet/cache
93 + doins -r opt/*
94 + fperms 0750 /opt/puppetlabs/puppet/cache
95 + # init
96 + newinitd "${FILESDIR}/puppet.initd" puppet
97 + systemd_dounit lib/systemd/system/puppet.service
98 + systemd_dounit lib/systemd/system/pxp-agent.service
99 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
100 + # symlinks
101 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
102 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
103 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
104 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
105 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
106 + dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
107 +}