1. How To Configure HDP Stack Repositories for Red Hat Satellite

To disable the repositories defined in the HDP Stack.repo files:

  1. Before starting the Ambari Server and installing a cluster, on the Ambari Server browse to the Stacks definition directory.

    cd /var/lib/ambari-server/resources/stacks/

  2. Browse the install hook directory:

    cd HDP/2.0.6/hooks/before-INSTALL/templates

  3. Modify the.repo template file

    vi repo_suse_rhel.j2

  4. Set the enabled property to 0 to disable the repository.

    enabled=0

  5. Save and exit.

  6. Start the Ambari Server and proceed with your install.

The .repo files will still be generated and distributed during cluster install but the repositories defined in the .repo files will not be enabled.

[Important]Important

You must configure Red Hat Satellite to define and enable the Stack repositories. Please refer to the Red Hat Satellite documentation for more information.


loading table of contents...