You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2013/07/03 23:02:31 UTC

svn commit: r1499557 - /incubator/ambari/trunk/ambari-web/app/controllers/main/admin/security/add/step3.js

Author: jaimin
Date: Wed Jul  3 21:02:31 2013
New Revision: 1499557

URL: http://svn.apache.org/r1499557
Log:
AMBARI-2559. Unable to deploy secure cluster as generated site.pp file is incorrect. (jaimin)

Modified:
    incubator/ambari/trunk/ambari-web/app/controllers/main/admin/security/add/step3.js

Modified: incubator/ambari/trunk/ambari-web/app/controllers/main/admin/security/add/step3.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/main/admin/security/add/step3.js?rev=1499557&r1=1499556&r2=1499557&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/main/admin/security/add/step3.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/main/admin/security/add/step3.js Wed Jul  3 21:02:31 2013
@@ -567,7 +567,9 @@ App.MainAdminSecurityAddStep3Controller 
           zkPrincipalName.value = zkPrincipalName.value + '@' + realmName.value;
         }
         this.get('globalProperties').forEach(function (_globalProperty) {
-          _serviceConfigTags.configs[_globalProperty.name] = _globalProperty.value;
+          if (!/_hosts?$/.test(_globalProperty.name)) {
+            _serviceConfigTags.configs[_globalProperty.name] = _globalProperty.value;
+          }
         }, this);
       }
       else {