From 56e3e12f129fa43c4ef66dce4bee55dcd7cd38b6 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 9 Oct 2013 14:52:04 +0200 Subject: Break long doc string in the Host plugin Also split the translations in French and Ukraininan Part of https://fedorahosted.org/freeipa/ticket/3587 --- ipalib/plugins/host.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'ipalib/plugins') 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 """) -- cgit