acct-user/kafka: add kafka user
authorWilliam Hubbs <william.hubbs@sony.com>
Wed, 26 Feb 2020 18:56:49 +0000 (12:56 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Wed, 26 Feb 2020 19:17:02 +0000 (13:17 -0600)
Bug: https://bugs.gentoo.org/show_bug.cgi?id=710128
Signed-off-by: William Hubbs <williamh@gentoo.org>
acct-user/kafka/kafka-0.ebuild [new file with mode: 0644]
acct-user/kafka/metadata.xml [new file with mode: 0644]

diff --git a/acct-user/kafka/kafka-0.ebuild b/acct-user/kafka/kafka-0.ebuild
new file mode 100644 (file)
index 0000000..f69be4e
--- /dev/null
@@ -0,0 +1,15 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for kafka"
+
+ACCT_USER_ID=425
+ACCT_USER_HOME=/var/lib/kafka
+ACCT_USER_SHELL=/bin/sh
+ACCT_USER_GROUPS=( kafka )
+
+acct-user_add_deps
diff --git a/acct-user/kafka/metadata.xml b/acct-user/kafka/metadata.xml
new file mode 100644 (file)
index 0000000..c36c371
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>williamh@gentoo.org</email>
+               <name>William Hubbs</name>
+       </maintainer>
+</pkgmetadata>