1 |
commit: 42686e129518b15e023bba51bb7dc8f147418923 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 31 03:10:36 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 22:13:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42686e12 |
7 |
|
8 |
app-admin/puppetserver: [QA] call tmpfiles_process in pkg_postinst |
9 |
|
10 |
This is needed to actually apply the tmpfiles configuration |
11 |
we've installed in the ebuild. See tmpfiles.eclass documentation. |
12 |
|
13 |
Revbump because the new tmpfiles inherit adds a new dependency |
14 |
(virtual/tmpfiles). |
15 |
|
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
.../{puppetserver-7.2.0.ebuild => puppetserver-7.2.0-r1.ebuild} | 8 ++++---- |
19 |
.../{puppetserver-7.2.1.ebuild => puppetserver-7.2.1-r1.ebuild} | 8 ++++---- |
20 |
2 files changed, 8 insertions(+), 8 deletions(-) |
21 |
|
22 |
diff --git a/app-admin/puppetserver/puppetserver-7.2.0.ebuild b/app-admin/puppetserver/puppetserver-7.2.0-r1.ebuild |
23 |
similarity index 97% |
24 |
rename from app-admin/puppetserver/puppetserver-7.2.0.ebuild |
25 |
rename to app-admin/puppetserver/puppetserver-7.2.0-r1.ebuild |
26 |
index 4d5a6144923..c2df215b358 100644 |
27 |
--- a/app-admin/puppetserver/puppetserver-7.2.0.ebuild |
28 |
+++ b/app-admin/puppetserver/puppetserver-7.2.0-r1.ebuild |
29 |
@@ -3,7 +3,7 @@ |
30 |
|
31 |
EAPI=7 |
32 |
|
33 |
-inherit multilib systemd |
34 |
+inherit multilib systemd tmpfiles |
35 |
|
36 |
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents." |
37 |
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/" |
38 |
@@ -104,12 +104,12 @@ src_install() { |
39 |
insinto /opt/puppetlabs/server/data |
40 |
doins ext/build-scripts/jruby-gem-list.txt |
41 |
doins ext/build-scripts/mri-gem-list-no-dependencies.txt |
42 |
- insopts -m 0644 |
43 |
- insinto /usr/lib/tmpfiles.d |
44 |
- newins ext/puppetserver.tmpfiles.conf puppetserver.conf |
45 |
+ newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf |
46 |
} |
47 |
|
48 |
pkg_postinst() { |
49 |
+ tmpfiles_process puppetserver.conf |
50 |
+ |
51 |
elog "to install you may want to run the following:" |
52 |
elog |
53 |
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver" |
54 |
|
55 |
diff --git a/app-admin/puppetserver/puppetserver-7.2.1.ebuild b/app-admin/puppetserver/puppetserver-7.2.1-r1.ebuild |
56 |
similarity index 97% |
57 |
rename from app-admin/puppetserver/puppetserver-7.2.1.ebuild |
58 |
rename to app-admin/puppetserver/puppetserver-7.2.1-r1.ebuild |
59 |
index 0cf80aca0ef..15e9859ee75 100644 |
60 |
--- a/app-admin/puppetserver/puppetserver-7.2.1.ebuild |
61 |
+++ b/app-admin/puppetserver/puppetserver-7.2.1-r1.ebuild |
62 |
@@ -3,7 +3,7 @@ |
63 |
|
64 |
EAPI=7 |
65 |
|
66 |
-inherit multilib systemd |
67 |
+inherit multilib systemd tmpfiles |
68 |
|
69 |
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents." |
70 |
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/" |
71 |
@@ -104,12 +104,12 @@ src_install() { |
72 |
insinto /opt/puppetlabs/server/data |
73 |
doins ext/build-scripts/jruby-gem-list.txt |
74 |
doins ext/build-scripts/mri-gem-list-no-dependencies.txt |
75 |
- insopts -m 0644 |
76 |
- insinto /usr/lib/tmpfiles.d |
77 |
- newins ext/puppetserver.tmpfiles.conf puppetserver.conf |
78 |
+ newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf |
79 |
} |
80 |
|
81 |
pkg_postinst() { |
82 |
+ tmpfiles_process puppetserver.conf |
83 |
+ |
84 |
elog "to install you may want to run the following:" |
85 |
elog |
86 |
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver" |