commit: 85131640bbbc50c7d19cb56e2b45dff8f680548d
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 19:03:42 2016 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 19:03:42 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85131640
sys-cluster/ceph: Allow setting the UID and GID for the ceph user
Package-Manager: portage-2.3.2
sys-cluster/ceph/ceph-10.2.3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-cluster/ceph/ceph-10.2.3.ebuild
b/sys-cluster/ceph/ceph-10.2.3.ebuild
index 9027cfb..6fd74ab 100644
--- a/sys-cluster/ceph/ceph-10.2.3.ebuild
+++ b/sys-cluster/ceph/ceph-10.2.3.ebuild
@@ -130,8 +130,8 @@ check-reqs_export_vars() {
}
user_setup() {
- enewgroup ceph
- enewuser ceph -1 -1 /var/lib/ceph ceph
+ enewgroup ceph ${CEPH_GID}
+ enewuser ceph "${CEPH_UID:--1}" -1 /var/lib/ceph ceph
}
emake_python_bindings() {