[
https://issues.apache.org/jira/browse/AMBARI-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769216#comment-13769216
]
Sumit Mohanty commented on AMBARI-3252:
---------------------------------------
* setup_security(args). Could you use get_validated_string_input() to cover the
prompt and choice selection. Something similar to:
{code}
idType = "0"
idType = get_validated_string_input(
"Choose one of the following options:\n1 - " + "Enable HTTPS for
Ambari server" +
"\n2 - " + "Enable HTTPS for Ganglia service" + "\n3...... ",
idType,
"^[12345]$",
"Invalid choice.",
False
)
{code}
Its a good change and will make the prompt clearer. LGTM, +1.
> Setup the krb5 Jaas configuration using "ambari-server setup-security"
> ----------------------------------------------------------------------
>
> Key: AMBARI-3252
> URL: https://issues.apache.org/jira/browse/AMBARI-3252
> Project: Ambari
> Issue Type: Improvement
> Components: controller
> Affects Versions: 1.4.1
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 1.4.1
>
> Attachments: AMBARI-3252.patch
>
>
> 1. Add "ambari-server setup-security" to replace all of the following
> operations:
> "setup-https|setup-ganglia-https|setup-nagios-https|encrypt-passwords"
> 2. Add new operation "setup-kerberos-auth" to ask the user for:
> - ambari.keytab
> - ambari.principal
> Related to, https://issues.apache.org/jira/browse/AMBARI-2941
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira