This is an automated email from the ASF dual-hosted git repository.

rlevas pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1a30286  AMBARI-25096 Cluster Installation fails when installing the 
cluster via Redhat satellite repositories (no internet connectivity Cluster)  
(asnaik)
1a30286 is described below

commit 1a30286e82e1c6a59c36c5009001763de6decd14
Author: Akhil Subhash Naik <asn...@hortonworks.com>
AuthorDate: Fri Jan 11 00:54:01 2019 +0530

    AMBARI-25096 Cluster Installation fails when installing the cluster via 
Redhat satellite repositories (no internet connectivity Cluster)  (asnaik)
---
 ambari-web/app/controllers/installer.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/installer.js 
b/ambari-web/app/controllers/installer.js
index 82aa615..c3d9cb1 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -890,8 +890,10 @@ App.InstallerController = 
App.WizardController.extend(App.Persist, {
       if (!verifyBaseUrl) {
         dfd.resolve();
       }
+      //for redhat satellite/spacewalk the os urls will be empty
+      var useRedhatSatellite = 
wizardStep1Controller.get('selectedStack.useRedhatSatellite');
       selectedStack.get('operatingSystems').forEach(function (os) {
-        if (os.get('isSelected') && !os.get('isEmpty')) {
+        if (os.get('isSelected') && (useRedhatSatellite || 
!os.get('isEmpty'))) {
           os.get('repositories').forEach(function (repo) {
             if (repo.get('showRepo')) {
               repo.setProperties({

Reply via email to