summaryrefslogtreecommitdiffstats
path: root/lib_cman.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib_cman.py')
-rw-r--r--lib_cman.py53
1 files changed, 45 insertions, 8 deletions
diff --git a/lib_cman.py b/lib_cman.py
index 60a0e63..8da2cba 100644
--- a/lib_cman.py
+++ b/lib_cman.py
@@ -21,10 +21,10 @@ class CmanRGManager(Daemon):
repo = dict(
git='git://git.fedorahosted.org/git/cluster.git',
web='https://git.fedorahosted.org/cgit/cluster.git',
- ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits'
+ ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits',
)
man = [
- 'rgmanager(8)'
+ 'rgmanager(8)',
]
srpm = 'rgmanager'
rpm = 'rgmanager'
@@ -40,7 +40,7 @@ class CmanClustat(Executable):
repo = dict(
git='git://git.fedorahosted.org/git/cluster.git',
web='https://git.fedorahosted.org/cgit/cluster.git',
- ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits'
+ ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits',
)
man = [
'clustat(8)'
@@ -59,10 +59,10 @@ class CmanCmanTool(Executable):
repo = dict(
git='git://git.fedorahosted.org/git/cluster.git',
web='https://git.fedorahosted.org/cgit/cluster.git',
- ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits'
+ ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits',
)
man = [
- 'cman_tool(8)'
+ 'cman_tool(8)',
]
ids = dict(
srpm='cluster',
@@ -83,13 +83,23 @@ class CmanRicci(Daemon):
web='https://git.fedorahosted.org/cgit/conga.git',
)
man = [
- 'ricci(8)'
+ 'ricci(8)',
]
ids = dict(
srpm='ricci',
rpm='ricci',
rhbz='ricci',
)
+ secprops = dict(
+ euser='ricci',
+ egroup='root',
+ label='unconfined_u:system_r:ricci_t:s0',
+ )
+ miscprops = dict(
+ common_thread_cnt=1,
+ nice=-1,
+ ppid=1,
+ )
class CmanCcs(Executable):
@@ -105,7 +115,7 @@ class CmanCcs(Executable):
web='https://github.com/feist/ccs',
)
man = [
- 'ccs(8)'
+ 'ccs(8)',
]
ids = dict(
srpm='ricci',
@@ -125,7 +135,7 @@ class CmanCcsSync(Executable):
web='https://git.fedorahosted.org/cgit/conga.git',
)
man = [
- 'ccs_sync(8)'
+ 'ccs_sync(8)',
]
ids = dict(
srpm='ricci',
@@ -152,6 +162,16 @@ class CmanLuci(Daemon):
rpm='luci',
rhbz='luci',
)
+ secprops = dict(
+ euser='luci',
+ egroup='luci',
+ label='system_u:system_r:initrc_t:s0',
+ )
+ miscprops = dict(
+ common_thread_cnt=11, # can be really variable
+ nice=10,
+ ppid=1,
+ )
class CmanModclusterd(Daemon):
@@ -169,6 +189,16 @@ class CmanModclusterd(Daemon):
rpm='modcluster',
rhbz='clustermon',
)
+ secprops = dict(
+ euser='root',
+ egroup='root',
+ label='system_u:system_r:ricci_modclusterd_t:s0',
+ )
+ miscprops = dict(
+ common_thread_cnt=3,
+ nice=-1,
+ ppid=1,
+ )
class CmanModcluster(Executable):
@@ -186,3 +216,10 @@ class CmanModcluster(Executable):
rpm='modcluster',
rhbz='clustermon',
)
+ secprops = dict(
+ euser='',
+ egroup='',
+ label='',
+ )
+
+