commit:     e7b52b695b29b5d378e3833c0ab9cca34f462209
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 18:24:31 2019 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 18:33:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b52b69

app-admin/puppet-agent: 6.5.0 bump

Package-Manager: Portage-2.3.66, Repoman-2.3.15
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-admin/puppet-agent/Manifest                  |  2 +
 app-admin/puppet-agent/puppet-agent-6.5.0.ebuild | 79 ++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
index b4aa99ac1c3..0cd6ad3393e 100644
--- a/app-admin/puppet-agent/Manifest
+++ b/app-admin/puppet-agent/Manifest
@@ -2,3 +2,5 @@ DIST puppet-agent_5.5.14-1stretch_amd64.deb 17369338 BLAKE2B 
bc0544d49f704b07fe0
 DIST puppet-agent_5.5.14-1stretch_i386.deb 18294894 BLAKE2B 
928ea0c7113dc6789a37b83f4499485d17f09cf7ac1ace5c3aad87f0a93e4143cd4763f61e42d35a7561d5438d7b5d70d6181ab7233f72eaccb67cc4d5388d18
 SHA512 
8ae02257cf729ce41e6437d9ee2f221884b0e49dda7b3fc04ef200487c937f258075f563817bb064a19c30ec19b790f4d9d03e240d8a363f2942cd613c579c1b
 DIST puppet-agent_6.4.2-1stretch_amd64.deb 18776024 BLAKE2B 
d8fd52357abb9649d74c9b7e54eb0f599cc2b6b1cbe8a4bdd3bd21c69904379dcda2fdea4e642d3f86bef846d1bdfb14eb8c3daed50958ad3add46bde96fe5d2
 SHA512 
b1bdbcb1cb87bbf4391073b0596d759e1386bd5b93046d25be112f1ddad6a0d4da162116dc9f85908de67bfd3d956a1c418faf39a85c3ed0d02f9891d4d9906c
 DIST puppet-agent_6.4.2-1stretch_i386.deb 19250972 BLAKE2B 
8424047586f7747daf24901f7ba134bfcd1fc4db094fd458f4298251880b0446221575cc463c511a32a6f7cf4c635c95b6132631640b5091e48b1e7cec67b844
 SHA512 
0041b1e3ff1401b21f7d9ab3b3aee66d76e30acd4748571ff3ff595d7006008e0d9d3f4c28db85cccece0cf08595cf4a3342353f5b18ea3e02ae02a094e42e41
+DIST puppet-agent_6.5.0-1stretch_amd64.deb 18847552 BLAKE2B 
7613daab71dfb75c96affc63d562417e085608fdcd92aa373c842d04e0cfee720b970f71016bc3d1b68aa1fa8cc691482ccddaf58b4b296b8a24180ecaa1e4bf
 SHA512 
0d73e599f66d95e41125680dbf3a86b20a0dda54d8a42e3e0522bf12635bdad1ceaa038fdadb58aafa699108dd46695a9c78a40ec3d9b45b7ad8e894bcd4b3be
+DIST puppet-agent_6.5.0-1stretch_i386.deb 19144924 BLAKE2B 
f6df20c6961d82f81cec8bec849da3e4a8353e1e148558251682a6f94af779ae17156fb546b4b1f61a4b21809809e651d24544b31d98332175345e76716a5c77
 SHA512 
ddd553ab83fec1c8e890030fcd7740924ed3f0479a859bd85f552d3976461400e46f60e4328f4ef3a34dd7a21825368da0650d818c363e0d8438fbbc03185778

diff --git a/app-admin/puppet-agent/puppet-agent-6.5.0.ebuild 
b/app-admin/puppet-agent/puppet-agent-6.5.0.ebuild
new file mode 100644
index 00000000000..a72df734d6b
--- /dev/null
+++ b/app-admin/puppet-agent/puppet-agent-6.5.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils systemd unpacker user
+
+DESCRIPTION="general puppet client utils along with hiera and facter"
+HOMEPAGE="https://puppetlabs.com/";
+SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch";
+SRC_URI="
+       amd64? ( ${SRC_BASE}_amd64.deb )
+       x86?   ( ${SRC_BASE}_i386.deb )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="puppetdb selinux"
+RESTRICT="strip"
+
+CDEPEND="!app-admin/augeas
+       !app-admin/puppet
+       !dev-ruby/hiera
+       !dev-ruby/facter
+       !app-emulation/virt-what"
+
+DEPEND="
+       ${CDEPEND}"
+RDEPEND="${CDEPEND}
+       app-portage/eix
+       sys-apps/dmidecode
+       sys-libs/glibc
+       sys-libs/readline:0/7
+       sys-libs/ncurses:0[tinfo]
+       selinux? (
+               sys-libs/libselinux[ruby]
+               sec-policy/selinux-puppet
+       )
+       puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+       enewgroup puppet
+       enewuser puppet -1 -1 /var/run/puppet puppet
+}
+
+src_install() {
+       # conf.d
+       doconfd etc/default/puppet
+       doconfd etc/default/pxp-agent
+       # logrotate.d
+       insinto /etc/logrotate.d
+       doins etc/logrotate.d/pxp-agent
+       # puppet itself
+       insinto /etc/puppetlabs
+       doins -r etc/puppetlabs/*
+       # logdir for systemd
+       dodir var/log/puppetlabs/puppet/
+       fperms 0750 var/log/puppetlabs/puppet/
+       # the rest
+       insinto /opt
+       dodir opt/puppetlabs/puppet/cache
+       doins -r opt/*
+       fperms 0750 /opt/puppetlabs/puppet/cache
+       # init
+       newinitd "${FILESDIR}/puppet.initd" puppet
+       systemd_dounit lib/systemd/system/puppet.service
+       systemd_dounit lib/systemd/system/pxp-agent.service
+       systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" 
puppet-agent.conf
+       # symlinks
+       chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
+       chmod 0755 
"${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
+       dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
+       dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
+       dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
+       dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
+       dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
+       dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
+}

Reply via email to