summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-08-12 11:53:06 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-08-12 11:53:06 -0500
commit727c701c8c0839f9a2d53cb78dd16b2c7fe1635f (patch)
tree6d0bb0154d50fcb36d03911ad554d2243c5039ef /app-admin/puppet-agent
parentnet-libs/gnutls: cleanup (diff)
downloadgentoo-727c701c8c0839f9a2d53cb78dd16b2c7fe1635f.tar.gz
gentoo-727c701c8c0839f9a2d53cb78dd16b2c7fe1635f.tar.bz2
gentoo-727c701c8c0839f9a2d53cb78dd16b2c7fe1635f.zip
app-admin/puppet-agent: bup
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-admin/puppet-agent')
-rw-r--r--app-admin/puppet-agent/Manifest2
-rw-r--r--app-admin/puppet-agent/puppet-agent-1.6.0.ebuild99
2 files changed, 101 insertions, 0 deletions
diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
index bde49463fb1c..8dc984872eff 100644
--- a/app-admin/puppet-agent/Manifest
+++ b/app-admin/puppet-agent/Manifest
@@ -4,3 +4,5 @@ DIST puppet-agent_1.5.2-1xenial_amd64.deb 12979184 SHA256 917c4dfccf6ac08ab62965
DIST puppet-agent_1.5.2-1xenial_i386.deb 14019620 SHA256 b5220616f12408a422ca65f0bab8bfeeb7dab026448c3141d3afe54f4e455899 SHA512 59611a7d4faa75b16dd492f14da3bacb5b50722b773bdd882d7be08e576462412f5aacb7f247492869048e7d1290824652b37b3ba088ca27da08306bb3137f54 WHIRLPOOL b5757c879ca6a2ecb9e9656ca899eabbeb34af3ce93bc078ed9ac41a601a65f1a2a5b4e738b282c7d1e469e2c63df67072a7ea63c7826340da3227ab24816cf7
DIST puppet-agent_1.5.3-1xenial_amd64.deb 13016338 SHA256 208c8a9cd157a1024fae13c87d4bf35dfd15c9acc8ea6422f1a68bdcd3b947a3 SHA512 218898c87fe77367f24dacae0525bf4ade99d5a3a4771f19402ebaf9eb1abee3e40550c6b250c397576e11f0081a7ea5915fd44350ef5f8b50933020c3896709 WHIRLPOOL 43191d00db025f653361ae236a18ded8ba75cb563d04b7ec830db7232d523fbacea8a7a4e7cf001b83ceb1d94e060f20e5189bff5d81afbca43424ee6c95c5e1
DIST puppet-agent_1.5.3-1xenial_i386.deb 14385624 SHA256 9cb6f982ebbba5ae8fe15f65f510990a746a3c3e46360394b4536d82f75a5c7c SHA512 c2a5e8022b4538c1a210493ef50c49dc300d9c5baaf2a98b41fcf165a12685c5e972ce487a18ffcf6b845e50780551036600035ed9675e18761ef16cf29d9abb WHIRLPOOL 31c95dc42eb796f75f380d7936c0d17364c3fea761aec43afa3042c3fdc18c7dcde9334b84fadb7676774f9b77c5f6eb2b424077a2a62bd60d1e3fc6b05a2661
+DIST puppet-agent_1.6.0-1xenial_amd64.deb 13888534 SHA256 dbd1d0607ae995be7805cd6e63316c9aef3dce35980fc3d4a22aca15cc3803e4 SHA512 155ee31fb6d1b97b20db577a8fdad0e0e6b7daacf2bbe64b8983e37e4f086542c825ad2dbb6cfe3fe2e76b6d3329799c215e8de75f6a594dcd0ca54949a1ae60 WHIRLPOOL 939c3e89b03e26c52af165889725dd013ae4a4f63e6c99e4846aeb9ca70d730b9e875733d7bc57e2ecb7a47d08382b91149859d5c544ee3ddd2f90aabc61a6ee
+DIST puppet-agent_1.6.0-1xenial_i386.deb 15200484 SHA256 5853238531ccca8c52e320d80603654687e825e342c093ff0c8c633a2dfe9304 SHA512 65acb4c2d9dd249875433d0234f74f4385a04058b76e1f8c9de51223f90373b2f26897b26016ab17bb301ae9216ccdb7a8c4c643d67a204b307ed29c959773e6 WHIRLPOOL 0bc35a68cf2978605a728638000976e868203c2eb924449042536e6f829378332855df10506f40ca0422517db6aa0b3dc6da33f6ae8bb34e18d7b0e705595880
diff --git a/app-admin/puppet-agent/puppet-agent-1.6.0.ebuild b/app-admin/puppet-agent/puppet-agent-1.6.0.ebuild
new file mode 100644
index 000000000000..a60350d84b91
--- /dev/null
+++ b/app-admin/puppet-agent/puppet-agent-1.6.0.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
+}