You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2013/11/25 17:24:43 UTC

git commit: AMBARI-3876. Add hosts wizard: Hosts should be put into config-groups before installing. (akovalenko)

Updated Branches:
  refs/heads/trunk 938810b4f -> 2b2c62b11


AMBARI-3876. Add hosts wizard: Hosts should be put into config-groups before installing. (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2b2c62b1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2b2c62b1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2b2c62b1

Branch: refs/heads/trunk
Commit: 2b2c62b1136544f5599efeb1572d39e9788dc345
Parents: 938810b
Author: Aleksandr Kovalenko <ol...@ukr.net>
Authored: Mon Nov 25 18:23:30 2013 +0200
Committer: Aleksandr Kovalenko <ol...@ukr.net>
Committed: Mon Nov 25 18:23:30 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/routes/add_host_routes.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2b2c62b1/ambari-web/app/routes/add_host_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_host_routes.js b/ambari-web/app/routes/add_host_routes.js
index cf0d0bc..13b0d94 100644
--- a/ambari-web/app/routes/add_host_routes.js
+++ b/ambari-web/app/routes/add_host_routes.js
@@ -247,14 +247,14 @@ module.exports = Em.Route.extend({
     next: function (router) {
       var addHostController = router.get('addHostController');
       var wizardStep8Controller = router.get('wizardStep8Controller');
+      if(App.supports.hostOverrides){
+        addHostController.applyConfigGroup();
+      }
       addHostController.installServices();
       addHostController.setInfoForStep9();
       // We need to do recovery based on whether we are in Add Host or Installer wizard
       addHostController.saveClusterState('ADD_HOSTS_INSTALLING_3');
       wizardStep8Controller.set('servicesInstalled', true);
-      if(App.supports.hostOverrides){
-        addHostController.applyConfigGroup();
-      }
       router.transitionTo('step6');
     }
   }),