summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-12-11 17:37:23 -0500
committerJason Gerard DeRose <jderose@redhat.com>2009-12-14 20:01:57 -0700
commit2b8cae8a9128d763ff2e6b6b918878677ffa9964 (patch)
tree154397367ad9ecee3df9b4494a9fd3769846522f /ipalib/plugins
parent8f9b43483414412103992c3408d56de749aea8af (diff)
downloadfreeipa-2b8cae8a9128d763ff2e6b6b918878677ffa9964.tar.gz
freeipa-2b8cae8a9128d763ff2e6b6b918878677ffa9964.tar.xz
freeipa-2b8cae8a9128d763ff2e6b6b918878677ffa9964.zip
Add some missing labels
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/hostgroup.py2
-rw-r--r--ipalib/plugins/netgroup.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/ipalib/plugins/hostgroup.py b/ipalib/plugins/hostgroup.py
index 8e5cf5fa6..1b2aa7d37 100644
--- a/ipalib/plugins/hostgroup.py
+++ b/ipalib/plugins/hostgroup.py
@@ -50,12 +50,14 @@ class hostgroup(LDAPObject):
takes_params = (
Str('cn',
cli_name='name',
+ label='Hostgroup name',
doc='group name',
primary_key=True,
normalizer=lambda value: value.lower(),
),
Str('description',
cli_name='desc',
+ label='Description',
doc='A description of this group',
),
)
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index f9ae95cba..5a3ad729e 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -54,16 +54,19 @@ class netgroup(LDAPObject):
takes_params = (
Str('cn',
cli_name='name',
+ label='Netgroup name',
doc='netgroup name',
primary_key=True,
normalizer=lambda value: value.lower(),
),
Str('description',
cli_name='desc',
+ label='Description',
doc='netgroup description',
),
Str('nisdomainname?',
cli_name='nisdomain',
+ label='NIS domain name',
doc='NIS domain name',
),
)