diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-07-22 10:26:14 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-07-22 10:26:14 -0500 |
commit | a985d2f7370746a20552da8701a49f8247edad41 (patch) | |
tree | 28e23476a0e0a6ee0754ec56e18829cd5e88176b /app-admin/puppet-agent | |
parent | media-plugins/live: bump to 2016.07.19 (diff) | |
download | gentoo-a985d2f7370746a20552da8701a49f8247edad41.tar.gz gentoo-a985d2f7370746a20552da8701a49f8247edad41.tar.bz2 gentoo-a985d2f7370746a20552da8701a49f8247edad41.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/Manifest | 2 | ||||
-rw-r--r-- | app-admin/puppet-agent/puppet-agent-1.5.3.ebuild | 99 |
2 files changed, 101 insertions, 0 deletions
diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest index 9d38540ec547..bde49463fb1c 100644 --- a/app-admin/puppet-agent/Manifest +++ b/app-admin/puppet-agent/Manifest @@ -2,3 +2,5 @@ DIST puppet-agent_1.4.2-1wheezy_amd64.deb 21510444 SHA256 ee08eab9e50f9afdc979b2 DIST puppet-agent_1.4.2-1wheezy_i386.deb 21254628 SHA256 4683fb7970805a815fe0b500de67e5d1e2b6fa88b19de36cd5326120a2eafdcb SHA512 bac02e08d8d753d6785e6a08c51009ff3ae02e547e942a21177bce6bf97b381a5110d1989fcdae6f3074b9dd9209bd5ff3d01a211f96efb25d24dcf271aa7a26 WHIRLPOOL 742bbcb6f6c55246f7e0f97978919a8d9f3b5f1acfd02e65b13973ffd3a3ebab62a385b0fdfb9076b27dfe2f7b68f25a37724eeec993a6f4c48ec7d145042892 DIST puppet-agent_1.5.2-1xenial_amd64.deb 12979184 SHA256 917c4dfccf6ac08ab62965262738927d8e50345fe1c9e58e91a8c8b8a0a82b3c SHA512 d662ca7a3c4c3ed0ce83c8b3de5aa862504ec44c7d3b18211aa46cca441b73e5b9929584b436ae2bf8d25b04badbb14af45a1f83a27fd9593cc961345235169e WHIRLPOOL 293a8818df6fade05a3a439f4e77b5d884aa6a9f6a0f0798883455c95332782467df640915d48c29fdd63b18708415376cece4f0633cbc22d333a06782260164 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 diff --git a/app-admin/puppet-agent/puppet-agent-1.5.3.ebuild b/app-admin/puppet-agent/puppet-agent-1.5.3.ebuild new file mode 100644 index 000000000000..a60350d84b91 --- /dev/null +++ b/app-admin/puppet-agent/puppet-agent-1.5.3.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 +} |