Project

Profile

Help

Story #8701

As a pulp_installer user, I can use the full logic to add repos to the system no matter which role I apply

Added by mdepaulo@redhat.com 6 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0:00 h)
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

As mentioned in #7773 , we should refactor our logic to add repos to the system (in a robust & configurable manner) into another role like pulp_repos.

I propose the following design:

  1. This is a dependency role. pulp_common, pulp_redis, pulp_database, will all depend on it.
  2. When a role like pulp_common depends on it, it passes variables like __pulp_repos_epel: true to denote which repos the role needs. It passes variables via roles/pulp_common/meta/main.yml : dependencies:
  3. If a user wants to disable the logic to add the repo (if they added it manually), they'll pass a variable like pulp_repos_epel: false to disable it.
  4. Existing variables for configuring how we add the repos to the system, like epel_release_packages, should still used.

This logic is found in:

  • roles/pulp_common/tasks/ambiguously-named-repo.yml
  • roles/pulp_common/tasks/repos.yml

Subtasks

Task #9087: Document how to use pulp_installer in disconnected modeNEW

Actions

Related issues

Related to Pulp - Issue #7773: pulp_installer fails to install redis due to no EPEL7CLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by mdepaulo@redhat.com 6 months ago

  • Description updated (diff)

#2 Updated by mdepaulo@redhat.com 6 months ago

  • Description updated (diff)

#3 Updated by mdepaulo@redhat.com 6 months ago

  • Description updated (diff)

#4 Updated by mdepaulo@redhat.com 6 months ago

  • Groomed changed from No to Yes

#5 Updated by mdepaulo@redhat.com 6 months ago

  • Related to Issue #7773: pulp_installer fails to install redis due to no EPEL7 added

Please register to edit this issue

Also available in: Atom PDF