commit:     8d73f662ad4952fb375fef25c79e2d2b783621e8
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 15:20:51 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 15:20:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d73f662

app-admin/puppet-agent: bup

Package-Manager: portage-2.2.28

 app-admin/puppet-agent/Manifest                  |  2 +
 app-admin/puppet-agent/puppet-agent-1.6.2.ebuild | 99 ++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
index e19f838..f091161 100644
--- a/app-admin/puppet-agent/Manifest
+++ b/app-admin/puppet-agent/Manifest
@@ -6,3 +6,5 @@ DIST puppet-agent_1.5.3-1xenial_amd64.deb 13016338 SHA256 
208c8a9cd157a1024fae13
 DIST puppet-agent_1.5.3-1xenial_i386.deb 14385624 SHA256 
9cb6f982ebbba5ae8fe15f65f510990a746a3c3e46360394b4536d82f75a5c7c SHA512 
c2a5e8022b4538c1a210493ef50c49dc300d9c5baaf2a98b41fcf165a12685c5e972ce487a18ffcf6b845e50780551036600035ed9675e18761ef16cf29d9abb
 WHIRLPOOL 
31c95dc42eb796f75f380d7936c0d17364c3fea761aec43afa3042c3fdc18c7dcde9334b84fadb7676774f9b77c5f6eb2b424077a2a62bd60d1e3fc6b05a2661
 DIST puppet-agent_1.6.1-1xenial_amd64.deb 13881682 SHA256 
c9ca69f56c382d81f2ee32a3589d5d7809f77c32ff276c9aa87a0c8d45e82b23 SHA512 
e6e13955cbb3d3579e77a566a28c639ab1a75365fb6fa25ebdd1b9becf92c38bb7c9988f6eb075bc9771a1375e1354d25f9e53eec7c0526291f31c8e356e0f2b
 WHIRLPOOL 
697baaf331419e18c8bd97342e68603c4a5c746b99ac82dac178aa6c482285fdfe297fbea816537e24d929e9d42b196ce47048c1db75c6022d89a33b6fdfe6fc
 DIST puppet-agent_1.6.1-1xenial_i386.deb 15233242 SHA256 
81af2311d1020e12befa883ce315f8ab507abdc436fbcf77f2cdccdbcff5dbd0 SHA512 
ac5a256783375e645230f92f1779cd4853bbb561b4bb1d671dc50d2ec8f7e5971bdd13471cffdb2f305052d126eecd4308002b517bb09310d8a7a6c8db7be6ae
 WHIRLPOOL 
0c5dee47b663d4e10b09883fa0a44b190c57f826736e5b1b392b5ac8d95d4a9c79ec0ec6f28e73838ef9603eca0d7fe5e41cfd7bfe36f3b6d62bc6cfd80de382
+DIST puppet-agent_1.6.2-1xenial_amd64.deb 13882068 SHA256 
e4921a53f71bb16d9b19b261d1cf415d2be03ae8e8605a36037d080e1fd928e3 SHA512 
1621c1458a973a39104a6a5750ee02bb50cbaab2010097db9a4e0e7a668576c93012ac7c1408c470bc6debfda2bbd15e147e852cc0b944619c49879bd3b676d8
 WHIRLPOOL 
6dbedd797a0fc8503176103f6992af76898663f059412816fdeeb2780c7142538c26c31e300dee593b6b9efd4fd6173eddfcae3dec1ae5975e27daaf1169ccd2
+DIST puppet-agent_1.6.2-1xenial_i386.deb 15231484 SHA256 
b58a9e73df92181700183a32803f01d00dff8d7b5d8565ec1cc512a850301f79 SHA512 
8ddbb5e7da0cb94e3948c3d993fda364b5f6cb22514218d02df685826658d5649d066e4121881d0ea4b7d17b524d26df140915ef158b86c5a134ca3ee3206148
 WHIRLPOOL 
64173df8aad4056621252e9d9cbc5f04cd18753377e80d1fe663478518d10484d48cc162d213e4ad0f535c4c23626cb32166f5896624e8772899acb05325152d

diff --git a/app-admin/puppet-agent/puppet-agent-1.6.2.ebuild 
b/app-admin/puppet-agent/puppet-agent-1.6.2.ebuild
new file mode 100644
index 00000000..a60350d
--- /dev/null
+++ b/app-admin/puppet-agent/puppet-agent-1.6.2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/PC1/${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}
+       sys-apps/dmidecode
+       selinux? (
+               sys-libs/libselinux[ruby]
+               sec-policy/selinux-puppet
+       )
+       puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
+
+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
+       # logrotate.d
+       insinto /etc/logrotate.d
+       doins etc/logrotate.d/mcollective
+       # 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 "${FILESDIR}/puppet.service"
+       systemd_dounit "${FILESDIR}/mcollective.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