summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-09-12 09:33:19 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-09-12 09:33:19 -0500
commit337c125797f7e7601865d0b690b88023c5ddc180 (patch)
tree1d234e88b894c9a8a6ead2784d85e6b1aed751fc /app-admin/puppet-agent
parentapp-admin/puppet-agent: amd64 and x86 stable (diff)
downloadgentoo-337c125797f7e7601865d0b690b88023c5ddc180.tar.gz
gentoo-337c125797f7e7601865d0b690b88023c5ddc180.tar.bz2
gentoo-337c125797f7e7601865d0b690b88023c5ddc180.zip
app-admin/puppet-agent: cleanup
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-admin/puppet-agent')
-rw-r--r--app-admin/puppet-agent/Manifest8
-rw-r--r--app-admin/puppet-agent/puppet-agent-1.4.2.ebuild99
-rw-r--r--app-admin/puppet-agent/puppet-agent-1.5.2.ebuild99
-rw-r--r--app-admin/puppet-agent/puppet-agent-1.5.3.ebuild99
-rw-r--r--app-admin/puppet-agent/puppet-agent-1.6.1.ebuild99
5 files changed, 0 insertions, 404 deletions
diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
index f091161ba44d..0067dc7fa909 100644
--- a/app-admin/puppet-agent/Manifest
+++ b/app-admin/puppet-agent/Manifest
@@ -1,10 +1,2 @@
-DIST puppet-agent_1.4.2-1wheezy_amd64.deb 21510444 SHA256 ee08eab9e50f9afdc979b2faa5633a3ea4d0ed7cc6fb3e9abc229098e06b9206 SHA512 fa9c47cab3847fde435c8e8a6ef875d392f86c1083e884ec4645e94d4a8620224cd5e43e3b5b8f343278b5fe6c73c41cec452a6872afc3f11a4ab0589e2b9292 WHIRLPOOL 4e082ac505baee8c4fb560ba72c12998cf72e0d13d6e13cce498239412fd638db7f36a680fbe54ddd0a9aafa4b494eba38fe11b9f29f7d28aed5171b370fbaef
-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
-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.4.2.ebuild b/app-admin/puppet-agent/puppet-agent-1.4.2.ebuild
deleted file mode 100644
index 41e31fdb631b..000000000000
--- a/app-admin/puppet-agent/puppet-agent-1.4.2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
-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
-}
diff --git a/app-admin/puppet-agent/puppet-agent-1.5.2.ebuild b/app-admin/puppet-agent/puppet-agent-1.5.2.ebuild
deleted file mode 100644
index fb4a4751ca17..000000000000
--- a/app-admin/puppet-agent/puppet-agent-1.5.2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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
-}
diff --git a/app-admin/puppet-agent/puppet-agent-1.5.3.ebuild b/app-admin/puppet-agent/puppet-agent-1.5.3.ebuild
deleted file mode 100644
index a60350d84b91..000000000000
--- a/app-admin/puppet-agent/puppet-agent-1.5.3.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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
-}
diff --git a/app-admin/puppet-agent/puppet-agent-1.6.1.ebuild b/app-admin/puppet-agent/puppet-agent-1.6.1.ebuild
deleted file mode 100644
index a60350d84b91..000000000000
--- a/app-admin/puppet-agent/puppet-agent-1.6.1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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
-}