Added classes to manage repositories for yum

* manage all base repositories
  * manage epel if required
  * cleanup /etc/yum.repos.d directory
This commit is contained in:
2023-06-22 21:35:24 +10:00
parent 1c05f9855f
commit 87d9d920e8
9 changed files with 248 additions and 0 deletions
+4
View File
@@ -6,5 +6,9 @@ defaults:
hierarchy:
- name: Node-specific data
path: "nodes/%{trusted.certname}.yaml"
- name: "Per-OS & Release Specific Data"
path: "os/%{facts.os.name}/%{facts.os.name}%{facts.os.release.major}.yaml"
- name: "Per-OS Specific Data"
path: "os/%{facts.os.name}/all_releases.yaml"
- name: Common data shared across nodes
path: "common.yaml"