commit:     fa65905402b3dd07e7d4f0f7ad4d650ad11099ee
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 19:11:53 2017 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 19:14:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa659054

app-admin/puppet-agent: 5.0.1 bup

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-admin/puppet-agent/Manifest                  |   2 +
 app-admin/puppet-agent/puppet-agent-5.0.1.ebuild | 105 +++++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
index 03cd4a2de16..fa67c17a5bf 100644
--- a/app-admin/puppet-agent/Manifest
+++ b/app-admin/puppet-agent/Manifest
@@ -6,3 +6,5 @@ DIST puppet-agent_1.10.5-1xenial_amd64.deb 16457578 SHA256 
70bdc6be278a5b9734054
 DIST puppet-agent_1.10.5-1xenial_i386.deb 16130300 SHA256 
064867c3e9a9e4ab0ffdee9a9ae1a4a1c651194662290e05d3fd936f8c092787 SHA512 
0780edf969ca97a00a7720fa2573efba7298be887acbad5318cbb5b9914bd67adc31c305aa44f879d667c2e56419b3fa85fdee10e00386edb75dede673c4cbc4
 WHIRLPOOL 
7ee4d69748ed80f7693ae28b20a8a90699e74016dcbf8626f90b443ecc299546760d878bcdf1be2d08003f54c381cab6f1fd2673de5ca191842103a6ebdc9ca3
 DIST puppet-agent_5.0.0-1xenial_amd64.deb 15120014 SHA256 
b2983d7a01c056c306e5a5534a9059515b68ff5f72f05dab8a3751fee4276ce4 SHA512 
b1255a8db15e6c922d7a102ad3541c496c4fac1cc484e763c6083bb09cbb93db5abf185ea0a39d13d6bee1b18ba53803691d024dbaa64431cda5e9517f3c3c6a
 WHIRLPOOL 
6c36343e5ee50941bab714d0ea8d7b7e7236c78c7f51ede2672b9fe7c883a897fe303d063dce37e411f9b4e89222f7affb38579f72b31ae0d2aa0e2c102be639
 DIST puppet-agent_5.0.0-1xenial_i386.deb 15619584 SHA256 
820367b49827855f19d3094d156184c8da2958e00e7dda4a3da37bbac7696cf5 SHA512 
9264b1143189c620cbf9dc7ff0b67939427c732c6bf27941a214066dcf88ed6570641a122f243774d01524607361129a777e50fa7b97addf15e9966d7701dee2
 WHIRLPOOL 
1cafcce45fb1072b8c4ba49192c0bd8da7a7cf60542530626468e12bb11f09fc7568b761403d1f03725c368e73209c0be00c07e5a5a007e9d653ef2e7cd32c41
+DIST puppet-agent_5.0.1-1xenial_amd64.deb 15171814 SHA256 
44b67741a276256cbee8dfad72053d6be9a9b1e4aeea43cb80413d569129a2c0 SHA512 
0dc388b2f561b2ddd7d9064188298de212648c31bbf0e70e15f20de9c851a2efba1f648e38b593c6f0e8f027f7161d50051e1039dda1a1abbaed1b90c8e9a72c
 WHIRLPOOL 
b40844b6b873e4dfa63d90ee0f17a08b7f2d4862c9353d2fbb6590fa6387071f3b414a5063407ab75ee04c1f2f8e14186197cbc7be3bd617ee640f2283b596ab
+DIST puppet-agent_5.0.1-1xenial_i386.deb 15591958 SHA256 
d302ae9543812ef64252f04ef031ae2c46929c6950c8356e5e1d23526e47d24f SHA512 
e7da74e534993c896ce79a27667717adecd8cbcb6002335210c0a29ca5002f58e03528d9da820908a0ed76c9a02f70b3bad7f82cdfa63eebc28aae01f7aaeee5
 WHIRLPOOL 
c8061395adfd91b49e36975a971b36679bc0600e8df56e04902828c41b5389792161df83d00bbec4c4440f97fb1815bd4740635c457c66bc1326c37ea458dbcb

diff --git a/app-admin/puppet-agent/puppet-agent-5.0.1.ebuild 
b/app-admin/puppet-agent/puppet-agent-5.0.1.ebuild
new file mode 100644
index 00000000000..15f80df9e2b
--- /dev/null
+++ b/app-admin/puppet-agent/puppet-agent-5.0.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils systemd unpacker user
+
+DESCRIPTION="general puppet client utils along with mcollective hiera and 
facter"
+HOMEPAGE="https://puppetlabs.com/";
+SRC_BASE="http://apt.puppetlabs.com/pool/xenial/puppet5/${PN:0:1}/${PN}/${PN}_${PV}-1xenial";
+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/mcollective
+       !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-6.0
+       <sys-libs/readline-7.0
+       selinux? (
+               sys-libs/libselinux[ruby]
+               sec-policy/selinux-puppet
+       )
+       puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
+
+S=${WORKDIR}
+
+QA_PREBUILT="
+       /opt/puppetlabs/puppet
+       /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
+       /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
+       /opt/puppetlabs/puppet/lib/engines/*
+       /opt/puppetlabs/puppet/lib/virt-what/*
+       /opt/puppetlabs/puppet/lib/*
+       /opt/puppetlabs/puppet/bin/*"
+
+pkg_setup() {
+       enewgroup puppet
+       enewuser puppet -1 -1 /var/run/puppet puppet
+}
+
+src_install() {
+       # conf.d
+       doconfd etc/default/puppet
+       doconfd etc/default/mcollective
+       doconfd etc/default/pxp-agent
+       # logrotate.d
+       insinto /etc/logrotate.d
+       doins etc/logrotate.d/mcollective
+       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
+       newinitd "${FILESDIR}/mcollective.initd" mcollective
+       systemd_dounit lib/systemd/system/puppet.service
+       systemd_dounit lib/systemd/system/mcollective.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/mco /usr/bin/mco
+       dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
+       dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
+       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
+       dosym /opt/puppetlabs/puppet/bin/extlookup2hiera 
/usr/bin/extlookup2hiera
+}

Reply via email to