summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-03-17 18:00:00 +0100
committerJan Cholasta <jcholast@redhat.com>2015-04-02 08:42:43 +0000
commitb5e941d49b3571a3f257be645dabb429754c94b0 (patch)
tree495e3442133549ea569ee485b41e4ae31cbb64ea /ipaserver
parentb9657975b790252c952499c1cd40dc6a666d452f (diff)
downloadfreeipa-b5e941d49b3571a3f257be645dabb429754c94b0.tar.gz
freeipa-b5e941d49b3571a3f257be645dabb429754c94b0.tar.xz
freeipa-b5e941d49b3571a3f257be645dabb429754c94b0.zip
Server Upgrade: Fix comments
https://fedorahosted.org/freeipa/ticket/4904 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/plugins/updateclient.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/ipaserver/install/plugins/updateclient.py b/ipaserver/install/plugins/updateclient.py
index 824d32b65..745171dd0 100644
--- a/ipaserver/install/plugins/updateclient.py
+++ b/ipaserver/install/plugins/updateclient.py
@@ -38,10 +38,10 @@ class updateclient(backend.Executioner):
returns. Otherwise the update is cached until all
plugins of that update type are complete, then they
are applied together.
- 3. updates: A dictionary of updates to be applied.
+ 3. updates: A list of updates to be applied.
- updates is a dictionary keyed on dn. The value of an update is a
- dictionary with the following possible values:
+ The value of an update is a dictionary with the following possible
+ values:
- dn: DN, equal to the dn attribute
- updates: list of updates against the dn
- default: list of the default entry to be added if it doesn't
@@ -54,15 +54,15 @@ class updateclient(backend.Executioner):
replace:krbPwdLockoutDuration:10::600
replace: krbPwdMaxFailure:3::6
- Generates this update dictionary:
+ Generates this list which contain the update dictionary:
- dict('cn=global_policy,cn=EXAMPLE.COM,cn=kerberos,dc=example,dc=com':
+ [
dict(
'dn': 'cn=global_policy,cn=EXAMPLE.COM,cn=kerberos,dc=example,dc=com',
'updates': ['replace:krbPwdLockoutDuration:10::600',
'replace:krbPwdMaxFailure:3::6']
)
- )
+ ]
Here is another example showing how a default entry is configured:
@@ -73,7 +73,7 @@ class updateclient(backend.Executioner):
This generates:
- dict('cn=Managed Entries,cn=etc,dc=example,dc=com',
+ [
dict(
'dn': 'cn=Managed Entries,cn=etc,dc=example,dc=com',
'default': ['objectClass:nsContainer',
@@ -81,7 +81,7 @@ class updateclient(backend.Executioner):
'cn:Managed Entries'
]
)
- )
+ ]
Note that the variable substitution in both examples has been completed.