aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-30 00:56:06 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-30 00:58:06 +0200
commit2cdd140a843387d6fd3b744d780613660357f52d (patch)
treeb23f39c5e28af1f971a6404b62c978f26be9cd23 /sys-cluster/heat
parentsys-cluster/swift: create logdir (diff)
downloadguru-2cdd140a843387d6fd3b744d780613660357f52d.tar.gz
guru-2cdd140a843387d6fd3b744d780613660357f52d.tar.bz2
guru-2cdd140a843387d6fd3b744d780613660357f52d.zip
sys-cluster/heat: use root perms for logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster/heat')
-rw-r--r--sys-cluster/heat/heat-18.0.0-r1.ebuild (renamed from sys-cluster/heat/heat-18.0.0.ebuild)6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-cluster/heat/heat-18.0.0.ebuild b/sys-cluster/heat/heat-18.0.0-r1.ebuild
index 45120c6ff..79911f0e0 100644
--- a/sys-cluster/heat/heat-18.0.0.ebuild
+++ b/sys-cluster/heat/heat-18.0.0-r1.ebuild
@@ -134,6 +134,9 @@ python_install_all() {
newinitd "${FILESDIR}/heat.initd" "heat-${svc}"
done
+ insinto /etc/logrotate.d
+ doins "${FILESDIR}/heat.logrotate"
+
insinto /etc/heat
insopts -m 0640 -o heat -g heat
doins etc/heat/heat.conf.sample
@@ -151,8 +154,5 @@ python_install_all() {
systemd_dounit "${FILESDIR}/heat-engine.service"
systemd_dounit "${FILESDIR}/heat-api.service"
- insinto /etc/logrotate.d
- doins "${FILESDIR}/heat.logrotate"
-
rm -r "${ED}/usr/etc"
}