Skip to content

Commit d7c14f1

Browse files
Allow local pulp sync for OFED
1 parent 16ba9e2 commit d7c14f1

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

etc/kayobe/ofed.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
# DOCA OFED configuration
2+
# DOCA OFED configuration.
33

4-
# DOCA version
4+
###############################################################################
5+
# DOCA versions
56
stackhpc_pulp_doca_version: 2.8
67

78
# DOCA host version
@@ -11,9 +12,20 @@ stackhpc_pulp_doca_host_minor_version: 204000
1112
# DOCA OFED version
1213
stackhpc_pulp_doca_ofed_version: 24.07
1314

14-
# DOCA OFED repositories
15+
###############################################################################
16+
# Pulp configuration for DOCA OFED
17+
18+
# Whether to sync OFED packages into the local Pulp service
19+
stackhpc_pulp_sync_ofed: false
20+
21+
# OFED repository for Rocky 9
1522
stackhpc_pulp_repo_doca_ofed_rhel9:
1623
name: Mellanox Technologies doca_ofed {{ stackhpc_pulp_doca_ofed_version }} Rocky 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
1724
url: "{{ stackhpc_release_pulp_content_url }}/doca_ofed/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
1825
distribution_name: "mlnx-ofed-{{ stackhpc_pulp_doca_ofed_version }}-rocky-9-{{ stackhpc_pulp_repo_rocky_9_minor_version }}-"
1926
base_path: "mlnx_ofed/{{ stackhpc_pulp_doca_ofed_version }}/rhel9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}/x86_64"
27+
required: "{{ stackhpc_pulp_sync_ofed | bool and stackhpc_pulp_sync_el_9 | bool }}"
28+
29+
###############################################################################
30+
# Dummy variable to allow Ansible to accept this file.
31+
workaround_ansible_issue_8743: yes

etc/kayobe/pulp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ stackhpc_pulp_repository_rpm_repos: >-
380380
{%- endif -%}
381381
{%- set _ = rpm_repos.append(stackhpc_pulp_rpm_repos_default_config | combine(rpm_repo)) -%}
382382
{%- endfor -%}
383+
{%- set _ = rpm_repos.append(stackhpc_pulp_rpm_repos_default_config | combine(stackhpc_pulp_repo_doca_ofed_rhel9)) -%}
383384
{{ rpm_repos }}
384385
385386
# Publication format is a subset of distribution.

0 commit comments

Comments
 (0)