diff options
author | Sam James <sam@gentoo.org> | 2021-07-31 04:10:36 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-31 23:13:39 +0100 |
commit | 42686e129518b15e023bba51bb7dc8f147418923 (patch) | |
tree | c5fba4c87658286d3105d9ce384793a75b474f1a /app-admin | |
parent | app-admin/puppet: [QA] call tmpfiles_process in pkg_postinst (diff) | |
download | gentoo-42686e129518b15e023bba51bb7dc8f147418923.tar.gz gentoo-42686e129518b15e023bba51bb7dc8f147418923.tar.bz2 gentoo-42686e129518b15e023bba51bb7dc8f147418923.zip |
app-admin/puppetserver: [QA] call tmpfiles_process in pkg_postinst
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/puppetserver/puppetserver-7.2.0-r1.ebuild (renamed from app-admin/puppetserver/puppetserver-7.2.0.ebuild) | 8 | ||||
-rw-r--r-- | app-admin/puppetserver/puppetserver-7.2.1-r1.ebuild (renamed from app-admin/puppetserver/puppetserver-7.2.1.ebuild) | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app-admin/puppetserver/puppetserver-7.2.0.ebuild b/app-admin/puppetserver/puppetserver-7.2.0-r1.ebuild index 4d5a6144923f..c2df215b358d 100644 --- a/app-admin/puppetserver/puppetserver-7.2.0.ebuild +++ b/app-admin/puppetserver/puppetserver-7.2.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit multilib systemd +inherit multilib systemd tmpfiles DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents." HOMEPAGE="http://docs.puppetlabs.com/puppetserver/" @@ -104,12 +104,12 @@ src_install() { insinto /opt/puppetlabs/server/data doins ext/build-scripts/jruby-gem-list.txt doins ext/build-scripts/mri-gem-list-no-dependencies.txt - insopts -m 0644 - insinto /usr/lib/tmpfiles.d - newins ext/puppetserver.tmpfiles.conf puppetserver.conf + newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf } pkg_postinst() { + tmpfiles_process puppetserver.conf + elog "to install you may want to run the following:" elog elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver" diff --git a/app-admin/puppetserver/puppetserver-7.2.1.ebuild b/app-admin/puppetserver/puppetserver-7.2.1-r1.ebuild index 0cf80aca0efb..15e9859ee758 100644 --- a/app-admin/puppetserver/puppetserver-7.2.1.ebuild +++ b/app-admin/puppetserver/puppetserver-7.2.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit multilib systemd +inherit multilib systemd tmpfiles DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents." HOMEPAGE="http://docs.puppetlabs.com/puppetserver/" @@ -104,12 +104,12 @@ src_install() { insinto /opt/puppetlabs/server/data doins ext/build-scripts/jruby-gem-list.txt doins ext/build-scripts/mri-gem-list-no-dependencies.txt - insopts -m 0644 - insinto /usr/lib/tmpfiles.d - newins ext/puppetserver.tmpfiles.conf puppetserver.conf + newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf } pkg_postinst() { + tmpfiles_process puppetserver.conf + elog "to install you may want to run the following:" elog elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver" |