Fix the typo and reformat the comments for the added option

Change-Id: I01c471976f2c6d80bfe629b61ab75b81d6cabb1a
Related-Bug: #1175904
This commit is contained in:
Li Ma 2014-06-18 19:16:52 -07:00
parent 94a2053cd0
commit b3f4e299e8
2 changed files with 14 additions and 15 deletions

View File

@ -110,12 +110,11 @@
#domain_id_immutable=true
# If set to true, strict password length checking is performed
# for password manipulation.
# If a password exceeds the maximum length, the operation will
# fail with 403 Forbidden Error.
# If set to false, passwords are automatically truncated to
# the maximum length.
# strict_password_check=false
# for password manipulation. If a password exceeds the maximum
# length, the operation will fail with an HTTP 403 Forbidden
# error. If set to false, passwords are automatically
# truncated to the maximum length. (boolean value)
#strict_password_check=false
#
@ -137,7 +136,7 @@
#allowed_rpc_exception_modules=oslo.messaging.exceptions,nova.exception,cinder.exception,exceptions
# Qpid broker hostname. (string value)
#qpid_hostname=keystone
#qpid_hostname=localhost
# Qpid broker port. (integer value)
#qpid_port=5672
@ -194,7 +193,7 @@
# The RabbitMQ broker address where a single node is used.
# (string value)
#rabbit_host=keystone
#rabbit_host=localhost
# The RabbitMQ broker port where a single node is used.
# (integer value)
@ -798,7 +797,7 @@
#
# URL for connecting to the LDAP server. (string value)
#url=ldap://keystone
#url=ldap://localhost
# User BindDN to query the LDAP server. (string value)
#user=<None>
@ -1244,7 +1243,7 @@
# SSL certificate subject (auto generated certificate).
# (string value)
#cert_subject=/C=US/ST=Unset/L=Unset/O=Unset/CN=keystone
#cert_subject=/C=US/ST=Unset/L=Unset/O=Unset/CN=localhost
[stats]

View File

@ -121,11 +121,11 @@ FILE_OPTIONS = {
'(see policy.v3cloudsample as an example).'),
cfg.BoolOpt('strict_password_check', default=False,
help='If set to true, strict password length checking is '
'performed for password manipulation.'
'If a password exceeds the maximum length, '
'the operation will fail with 403 Forbidden Error.'
'If set to false, passwords are automatically '
'truncated to the maximum length.')],
'performed for password manipulation. If a password '
'exceeds the maximum length, the operation will fail '
'with an HTTP 403 Forbidden error. If set to false, '
'passwords are automatically truncated to the '
'maximum length.')],
'identity': [
cfg.StrOpt('default_domain_id', default='default',
help='This references the domain to use for all '