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: Sat, 22 Jun 2019 18:34:06
Message-Id: 1561228436.e7b52b695b29b5d378e3833c0ab9cca34f462209.prometheanfire@gentoo
1 commit: e7b52b695b29b5d378e3833c0ab9cca34f462209
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 22 18:24:31 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 22 18:33:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b52b69
7
8 app-admin/puppet-agent: 6.5.0 bump
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.15
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.5.0.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 b4aa99ac1c3..0cd6ad3393e 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -2,3 +2,5 @@ DIST puppet-agent_5.5.14-1stretch_amd64.deb 17369338 BLAKE2B bc0544d49f704b07fe0
22 DIST puppet-agent_5.5.14-1stretch_i386.deb 18294894 BLAKE2B 928ea0c7113dc6789a37b83f4499485d17f09cf7ac1ace5c3aad87f0a93e4143cd4763f61e42d35a7561d5438d7b5d70d6181ab7233f72eaccb67cc4d5388d18 SHA512 8ae02257cf729ce41e6437d9ee2f221884b0e49dda7b3fc04ef200487c937f258075f563817bb064a19c30ec19b790f4d9d03e240d8a363f2942cd613c579c1b
23 DIST puppet-agent_6.4.2-1stretch_amd64.deb 18776024 BLAKE2B d8fd52357abb9649d74c9b7e54eb0f599cc2b6b1cbe8a4bdd3bd21c69904379dcda2fdea4e642d3f86bef846d1bdfb14eb8c3daed50958ad3add46bde96fe5d2 SHA512 b1bdbcb1cb87bbf4391073b0596d759e1386bd5b93046d25be112f1ddad6a0d4da162116dc9f85908de67bfd3d956a1c418faf39a85c3ed0d02f9891d4d9906c
24 DIST puppet-agent_6.4.2-1stretch_i386.deb 19250972 BLAKE2B 8424047586f7747daf24901f7ba134bfcd1fc4db094fd458f4298251880b0446221575cc463c511a32a6f7cf4c635c95b6132631640b5091e48b1e7cec67b844 SHA512 0041b1e3ff1401b21f7d9ab3b3aee66d76e30acd4748571ff3ff595d7006008e0d9d3f4c28db85cccece0cf08595cf4a3342353f5b18ea3e02ae02a094e42e41
25 +DIST puppet-agent_6.5.0-1stretch_amd64.deb 18847552 BLAKE2B 7613daab71dfb75c96affc63d562417e085608fdcd92aa373c842d04e0cfee720b970f71016bc3d1b68aa1fa8cc691482ccddaf58b4b296b8a24180ecaa1e4bf SHA512 0d73e599f66d95e41125680dbf3a86b20a0dda54d8a42e3e0522bf12635bdad1ceaa038fdadb58aafa699108dd46695a9c78a40ec3d9b45b7ad8e894bcd4b3be
26 +DIST puppet-agent_6.5.0-1stretch_i386.deb 19144924 BLAKE2B f6df20c6961d82f81cec8bec849da3e4a8353e1e148558251682a6f94af779ae17156fb546b4b1f61a4b21809809e651d24544b31d98332175345e76716a5c77 SHA512 ddd553ab83fec1c8e890030fcd7740924ed3f0479a859bd85f552d3976461400e46f60e4328f4ef3a34dd7a21825368da0650d818c363e0d8438fbbc03185778
27
28 diff --git a/app-admin/puppet-agent/puppet-agent-6.5.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.5.0.ebuild
29 new file mode 100644
30 index 00000000000..a72df734d6b
31 --- /dev/null
32 +++ b/app-admin/puppet-agent/puppet-agent-6.5.0.ebuild
33 @@ -0,0 +1,79 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
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 +}