Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/puppet-agent: puppet-agent-1.2.2-r2.ebuild ChangeLog
Date: Wed, 29 Jul 2015 22:13:00
Message-Id: 20150729221250.94BACEE@oystercatcher.gentoo.org
1 prometheanfire 15/07/29 22:12:50
2
3 Modified: ChangeLog
4 Added: puppet-agent-1.2.2-r2.ebuild
5 Log:
6 we provide virt-what that the rest of hiera too
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)
9
10 Revision Changes Path
11 1.10 app-admin/puppet-agent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet-agent/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet-agent/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet-agent/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet-agent/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 28 Jul 2015 21:43:25 -0000 1.9
24 +++ ChangeLog 29 Jul 2015 22:12:50 -0000 1.10
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-admin/puppet-agent
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet-agent/ChangeLog,v 1.9 2015/07/28 21:43:25 prometheanfire Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet-agent/ChangeLog,v 1.10 2015/07/29 22:12:50 prometheanfire Exp $
30 +
31 +*puppet-agent-1.2.2-r2 (29 Jul 2015)
32 +
33 + 29 Jul 2015; Matthew Thode <prometheanfire@g.o>
34 + +puppet-agent-1.2.2-r2.ebuild:
35 + we provide virt-what that the rest of hiera too
36
37 28 Jul 2015; Matthew Thode <prometheanfire@g.o> metadata.xml:
38 signing
39
40
41
42 1.1 app-admin/puppet-agent/puppet-agent-1.2.2-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet-agent/puppet-agent-1.2.2-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet-agent/puppet-agent-1.2.2-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: puppet-agent-1.2.2-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-admin/puppet-agent/puppet-agent-1.2.2-r2.ebuild,v 1.1 2015/07/29 22:12:50 prometheanfire Exp $
52
53 EAPI=5
54 inherit eutils systemd unpacker
55
56 DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
57 HOMEPAGE="https://puppetlabs.com/"
58 SRC_BASE="http://apt.puppetlabs.com/pool/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
59 SRC_URI="
60 amd64? ( ${SRC_BASE}_amd64.deb )
61 x86? ( ${SRC_BASE}_i386.deb )
62 "
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="puppetdb"
68 RESTRICT="strip"
69
70 CDEPEND="!app-admin/puppet
71 !app-admin/mcollective
72 !dev-ruby/hiera
73 !dev-ruby/facter
74 !app-emulation/virt-what"
75
76 DEPEND="
77 ${CDEPEND}"
78 RDEPEND="${CDEPEND}
79 sys-apps/dmidecode
80 puppetdb? ( >=dev-ruby/puppetdb-termini-3.0.1-r2 )"
81
82 S=${WORKDIR}
83
84 src_install() {
85 # conf.d
86 doconfd etc/default/puppet
87 doconfd etc/default/mcollective
88 # logrotate.d
89 insinto /etc/logrotate.d
90 doins etc/logrotate.d/mcollective
91 # puppet itself
92 insinto /etc/puppetlabs
93 doins -r etc/puppetlabs/*
94 # logdir for systemd
95 dodir var/log/puppetlabs/puppet/
96 fperms 0750 var/log/puppetlabs/puppet/
97 # the rest
98 insinto /opt
99 doins -r opt/*
100 fperms 0750 /opt/puppetlabs/puppet/cache
101 # init
102 newinitd "${FILESDIR}/puppet.initd" puppet
103 newinitd "${FILESDIR}/mcollective.initd" mcollective
104 systemd_dounit "${FILESDIR}/puppet.service"
105 systemd_dounit "${FILESDIR}/mcollective.service"
106 systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
107 # symlinks
108 chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
109 chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
110 dosym /opt/puppetlabs/bin/facter /usr/bin/facter
111 dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
112 dosym /opt/puppetlabs/bin/mco /usr/bin/mco
113 dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
114 dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
115 dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
116 dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
117 dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
118 dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
119 }