summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-10-09 14:52:04 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-11-21 10:34:25 +0100
commit56e3e12f129fa43c4ef66dce4bee55dcd7cd38b6 (patch)
tree986ad96565fe5555696024d0527f489d7c816739 /ipalib/plugins
parent8f57f25e82f64e338b4cec1fb58fa27f3d432f8f (diff)
downloadfreeipa-56e3e12f129fa43c4ef66dce4bee55dcd7cd38b6.tar.gz
freeipa-56e3e12f129fa43c4ef66dce4bee55dcd7cd38b6.tar.xz
freeipa-56e3e12f129fa43c4ef66dce4bee55dcd7cd38b6.zip
Break long doc string in the Host plugin
Also split the translations in French and Ukraininan Part of https://fedorahosted.org/freeipa/ticket/3587
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/host.py23
1 files changed, 11 insertions, 12 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index fd65a873..ef7ec528 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -53,7 +53,7 @@ A host represents a machine. It can be used in a number of contexts:
- a host stores the host/ service principal
- a host can be used in Host-based Access Control (HBAC) rules
- every enrolled client generates a host entry
-
+""") + _("""
ENROLLMENT:
There are three enrollment scenarios when enrolling a new client:
@@ -65,8 +65,7 @@ There are three enrollment scenarios when enrolling a new client:
exist. A limited administrator is a member a role with the
Host Enrollment privilege.
3. The host has been created with a one-time password.
-
-
+""") + _("""
RE-ENROLLMENT:
Host that has been enrolled at some point, and lost its configuration (e.g. VM
@@ -76,30 +75,30 @@ For more information, consult the manual pages for ipa-client-install.
A host can optionally store information such as where it is located,
the OS that it runs, etc.
-
+""") + _("""
EXAMPLES:
-
+""") + _("""
Add a new host:
ipa host-add --location="3rd floor lab" --locality=Dallas test.example.com
-
+""") + _("""
Delete a host:
ipa host-del test.example.com
-
+""") + _("""
Add a new host with a one-time password:
ipa host-add --os='Fedora 12' --password=Secret123 test.example.com
-
+""") + _("""
Add a new host with a random one-time password:
ipa host-add --os='Fedora 12' --random test.example.com
-
+""") + _("""
Modify information about a host:
ipa host-mod --os='Fedora 12' test.example.com
-
+""") + _("""
Remove SSH public keys of a host and update DNS to reflect this change:
ipa host-mod --sshpubkey= --updatedns test.example.com
-
+""") + _("""
Disable the host Kerberos key, SSL certificate and all of its services:
ipa host-disable test.example.com
-
+""") + _("""
Add a host that can manage this host's keytab and certificate:
ipa host-add-managedby --hosts=test2 test
""")