Author: jaimin
Date: Mon Jun 17 07:31:49 2013
New Revision: 1493665
URL: http://svn.apache.org/r1493665
Log:
AMBARI-2399. Security wizard: Hide "Use Instance name" option on ambari-web UI.
Modified:
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
incubator/ambari/trunk/ambari-web/app/data/secure_properties.js
Modified:
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp?rev=1493665&r1=1493664&r2=1493665&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
(original)
+++
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
Mon Jun 17 07:31:49 2013
@@ -54,7 +54,7 @@ class hdp::params()
## $smoketest_user_secure_uid = 1012
$kinit_path_local = hdp_default("kinit_path_local","/usr/bin/kinit")
$keytab_path = hdp_default("keytab_path", "/etc/security/keytabs")
- $use_hostname_in_principal = hdp_default("instance_name", false)
+ $use_hostname_in_principal = hdp_default("instance_name", true)
###### hostnames
$namenode_host = hdp_default("namenode_host")
Modified: incubator/ambari/trunk/ambari-web/app/data/secure_properties.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/data/secure_properties.js?rev=1493665&r1=1493664&r2=1493665&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/data/secure_properties.js (original)
+++ incubator/ambari/trunk/ambari-web/app/data/secure_properties.js Mon Jun 17
07:31:49 2013
@@ -89,7 +89,7 @@ module.exports =
"defaultValue": true,
"description": "Whether to use instance name for creating principals
across cluster",
"displayType": "checkbox",
- "isVisible": true,
+ "isVisible": false,
"isOverridable": false,
"serviceName": "GENERAL",
"category": "KERBEROS"