-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22085/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-5965
    https://issues.apache.org/jira/browse/AMBARI-5965


Repository: ambari


Description
-------

Currently, Ambari generates HDP.repo automatically when performing an
installation. HDP.repo includes the base urls for the HDP repository.

Users often need control over this time, to set priorities, enable/disable gpg
check, etc. They might even just want this file to have the repos disabled
(because they Red Hat Satellite handling registering repos with the hosts).

We should include in each Stack a template .repo file which is used for the
.repo generation. If users need to handle customization of anything in that
template, they can do so at the Stack.


Diffs
-----

  
ambari-agent/src/main/python/resource_management/libraries/providers/repository.py
 32fa75b 
  
ambari-agent/src/main/python/resource_management/libraries/resources/repository.py
 ad6c919 
  ambari-agent/src/main/python/resource_management/libraries/script/script.py 
3fbb067 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py
 9b200af 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py
 49a01cf 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/repo_initialization.py
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/repo_debian.j2
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/repo_suse_rhel.j2
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py
 bb68560 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py
 852a439 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/repo_debian.j2
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/repo_suse_rhel.j2
 PRE-CREATION 

Diff: https://reviews.apache.org/r/22085/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to