Browse Source

AMBARI-2399. Security wizard: Hide "Use Instance name" option on ambari-web UI.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1493665 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 years ago
parent
commit
1f906f7020

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp

@@ -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")

+ 1 - 1
ambari-web/app/data/secure_properties.js

@@ -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"