From: Patrick McLean Date: Fri, 14 Oct 2016 19:03:42 +0000 (-0700) Subject: sys-cluster/ceph: Allow setting the UID and GID for the ceph user X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85131640bbbc50c7d19cb56e2b45dff8f680548d;p=gentoo.git sys-cluster/ceph: Allow setting the UID and GID for the ceph user Package-Manager: portage-2.3.2 --- diff --git a/sys-cluster/ceph/ceph-10.2.3.ebuild b/sys-cluster/ceph/ceph-10.2.3.ebuild index 9027cfb4e098..6fd74abba2b4 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() {