1 |
commit: 53640c8646d2a76210506956ebbfc49830bbd90e |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 27 19:08:57 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 27 19:14:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53640c86 |
7 |
|
8 |
app-admin/puppet-agent: 1.10.5 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
app-admin/puppet-agent/Manifest | 2 + |
13 |
app-admin/puppet-agent/puppet-agent-1.10.5.ebuild | 111 ++++++++++++++++++++++ |
14 |
2 files changed, 113 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest |
17 |
index ac33995fa94..03cd4a2de16 100644 |
18 |
--- a/app-admin/puppet-agent/Manifest |
19 |
+++ b/app-admin/puppet-agent/Manifest |
20 |
@@ -2,5 +2,7 @@ DIST puppet-agent_1.10.1-1xenial_amd64.deb 16276180 SHA256 e0dc22258c2f23302ed2f |
21 |
DIST puppet-agent_1.10.1-1xenial_i386.deb 16205078 SHA256 22cdd5e41c82e63ae038f4c96ed8f19218f3eda600f1f6149eca9b1e7b60a560 SHA512 be310ae8db1bf1670b480a382866feb2fc247e69f0a4c26aac2b8f67f1b43984b581809ccfc1e0182fe71895aca8dadf20f6ff7b99506e84b787a62555e547c3 WHIRLPOOL 50563a4a85200e675d408e8a5618763821e7bf408f65172dadcf1b33ba3f4b9930bfaece3a21d744a8df513f9b91cce1f9ed45d770b1e9601e0d84642755e3b7 |
22 |
DIST puppet-agent_1.10.4-1xenial_amd64.deb 16157840 SHA256 4e6ec3496e9d30b06b2064f066465ae268765760c0251390292e1fe2c0b5120e SHA512 25c1be6ebfdd2b2c9f8d10347c681af1cb7265b6d95f7e573f31c4b580bf5df046945cdf9d87841d792233b7227db0c46ae348bf6e6ff18b44f6f746794a3627 WHIRLPOOL 7fd01b43f627647960ee588eb20a8a8d35223e711d295f83a283d13d896bb93c251f51a20f082bdcb8830f4508ba28cdf7c0cd4d8e73e3f3c5cd15fd8ac8d071 |
23 |
DIST puppet-agent_1.10.4-1xenial_i386.deb 16053584 SHA256 ef42df8facaffb47bd926842886b988276111b67a887619873d146c0dee8f55c SHA512 b2e519b2a24f40a8d099b2fa8690a706d9105693affad70e6f38c3b4cc3539044bc805462c45b828147349bfbdc04859e8563fca2588e3fb538de3798df8f262 WHIRLPOOL 51e5faed153d8aa8ee4b1acadc66f8be5e60534faad28cdf37504e91bdbd60441859cb00e2a8746c96c22cd88de3c58c8e188b2abc699758e0c3a02f01d480e8 |
24 |
+DIST puppet-agent_1.10.5-1xenial_amd64.deb 16457578 SHA256 70bdc6be278a5b9734054063379bbf09627e2446af59a9a41cb655bda94c9460 SHA512 4c527a8dd69a2de24ed374024b225f98b481beed3a829649a0db34de9f2f846442a84a4ff5bdb9c4cdda3540f4139c647510504baa7326140cb86d47d2117281 WHIRLPOOL e759d0df31d741556c7e0b42606dee441291bbf3fc7fbf673685449eb9022332ff5b842529177d0d73ebdcfc772af303f71b45a039c0e69e7ca8eae8a2553a97 |
25 |
+DIST puppet-agent_1.10.5-1xenial_i386.deb 16130300 SHA256 064867c3e9a9e4ab0ffdee9a9ae1a4a1c651194662290e05d3fd936f8c092787 SHA512 0780edf969ca97a00a7720fa2573efba7298be887acbad5318cbb5b9914bd67adc31c305aa44f879d667c2e56419b3fa85fdee10e00386edb75dede673c4cbc4 WHIRLPOOL 7ee4d69748ed80f7693ae28b20a8a90699e74016dcbf8626f90b443ecc299546760d878bcdf1be2d08003f54c381cab6f1fd2673de5ca191842103a6ebdc9ca3 |
26 |
DIST puppet-agent_5.0.0-1xenial_amd64.deb 15120014 SHA256 b2983d7a01c056c306e5a5534a9059515b68ff5f72f05dab8a3751fee4276ce4 SHA512 b1255a8db15e6c922d7a102ad3541c496c4fac1cc484e763c6083bb09cbb93db5abf185ea0a39d13d6bee1b18ba53803691d024dbaa64431cda5e9517f3c3c6a WHIRLPOOL 6c36343e5ee50941bab714d0ea8d7b7e7236c78c7f51ede2672b9fe7c883a897fe303d063dce37e411f9b4e89222f7affb38579f72b31ae0d2aa0e2c102be639 |
27 |
DIST puppet-agent_5.0.0-1xenial_i386.deb 15619584 SHA256 820367b49827855f19d3094d156184c8da2958e00e7dda4a3da37bbac7696cf5 SHA512 9264b1143189c620cbf9dc7ff0b67939427c732c6bf27941a214066dcf88ed6570641a122f243774d01524607361129a777e50fa7b97addf15e9966d7701dee2 WHIRLPOOL 1cafcce45fb1072b8c4ba49192c0bd8da7a7cf60542530626468e12bb11f09fc7568b761403d1f03725c368e73209c0be00c07e5a5a007e9d653ef2e7cd32c41 |
28 |
|
29 |
diff --git a/app-admin/puppet-agent/puppet-agent-1.10.5.ebuild b/app-admin/puppet-agent/puppet-agent-1.10.5.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..669892ac4a9 |
32 |
--- /dev/null |
33 |
+++ b/app-admin/puppet-agent/puppet-agent-1.10.5.ebuild |
34 |
@@ -0,0 +1,111 @@ |
35 |
+# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=5 |
39 |
+inherit eutils systemd unpacker user |
40 |
+ |
41 |
+DESCRIPTION="general puppet client utils along with mcollective hiera and facter" |
42 |
+HOMEPAGE="https://puppetlabs.com/" |
43 |
+SRC_BASE="http://apt.puppetlabs.com/pool/xenial/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1xenial" |
44 |
+SRC_URI=" |
45 |
+ amd64? ( ${SRC_BASE}_amd64.deb ) |
46 |
+ x86? ( ${SRC_BASE}_i386.deb ) |
47 |
+" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="experimental puppetdb selinux" |
53 |
+RESTRICT="strip" |
54 |
+ |
55 |
+CDEPEND="!app-admin/augeas |
56 |
+ !app-admin/mcollective |
57 |
+ !app-admin/puppet |
58 |
+ !dev-ruby/hiera |
59 |
+ !dev-ruby/facter |
60 |
+ !app-emulation/virt-what" |
61 |
+ |
62 |
+DEPEND=" |
63 |
+ ${CDEPEND}" |
64 |
+RDEPEND="${CDEPEND} |
65 |
+ app-portage/eix |
66 |
+ sys-apps/dmidecode |
67 |
+ sys-libs/glibc |
68 |
+ >=sys-libs/readline-6.0 |
69 |
+ <sys-libs/readline-7.0 |
70 |
+ selinux? ( |
71 |
+ sys-libs/libselinux[ruby] |
72 |
+ sec-policy/selinux-puppet |
73 |
+ ) |
74 |
+ puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )" |
75 |
+ |
76 |
+S=${WORKDIR} |
77 |
+ |
78 |
+QA_PREBUILT=" |
79 |
+ /opt/puppetlabs/puppet |
80 |
+ /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/* |
81 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/* |
82 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/* |
83 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/* |
84 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/* |
85 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/* |
86 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/* |
87 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/* |
88 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/* |
89 |
+ /opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/* |
90 |
+ /opt/puppetlabs/puppet/lib/engines/* |
91 |
+ /opt/puppetlabs/puppet/lib/virt-what/* |
92 |
+ /opt/puppetlabs/puppet/lib/* |
93 |
+ /opt/puppetlabs/puppet/bin/*" |
94 |
+ |
95 |
+pkg_setup() { |
96 |
+ enewgroup puppet |
97 |
+ enewuser puppet -1 -1 /var/run/puppet puppet |
98 |
+} |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ if use experimental; then |
102 |
+ epatch "${FILESDIR}/43e2c935252b995134ce353e5e6312cf77aea480.patch" |
103 |
+ fi |
104 |
+} |
105 |
+ |
106 |
+src_install() { |
107 |
+ # conf.d |
108 |
+ doconfd etc/default/puppet |
109 |
+ doconfd etc/default/mcollective |
110 |
+ doconfd etc/default/pxp-agent |
111 |
+ # logrotate.d |
112 |
+ insinto /etc/logrotate.d |
113 |
+ doins etc/logrotate.d/mcollective |
114 |
+ doins etc/logrotate.d/pxp-agent |
115 |
+ # puppet itself |
116 |
+ insinto /etc/puppetlabs |
117 |
+ doins -r etc/puppetlabs/* |
118 |
+ # logdir for systemd |
119 |
+ dodir var/log/puppetlabs/puppet/ |
120 |
+ fperms 0750 var/log/puppetlabs/puppet/ |
121 |
+ # the rest |
122 |
+ insinto /opt |
123 |
+ dodir opt/puppetlabs/puppet/cache |
124 |
+ doins -r opt/* |
125 |
+ fperms 0750 /opt/puppetlabs/puppet/cache |
126 |
+ # init |
127 |
+ newinitd "${FILESDIR}/puppet.initd" puppet |
128 |
+ newinitd "${FILESDIR}/mcollective.initd" mcollective |
129 |
+ systemd_dounit lib/systemd/system/puppet.service |
130 |
+ systemd_dounit lib/systemd/system/mcollective.service |
131 |
+ systemd_dounit lib/systemd/system/pxp-agent.service |
132 |
+ systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf |
133 |
+ # symlinks |
134 |
+ chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/" |
135 |
+ chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper" |
136 |
+ dosym /opt/puppetlabs/bin/facter /usr/bin/facter |
137 |
+ dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera |
138 |
+ dosym /opt/puppetlabs/bin/mco /usr/bin/mco |
139 |
+ dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet |
140 |
+ dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived |
141 |
+ dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what |
142 |
+ dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse |
143 |
+ dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool |
144 |
+ dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera |
145 |
+} |