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