From 7af26e6b1b22fb086e31a76b6d895f01c1a62eef Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 4 Jan 2024 11:51:37 +0100 Subject: [PATCH] remove yum_client references from documenation --- admin-guide/configuration/package_repositories.md | 4 +--- admin-guide/configuration/packages.md | 8 -------- admin-guide/puppet/profiles/rpm_repos.rst | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/admin-guide/configuration/package_repositories.md b/admin-guide/configuration/package_repositories.md index c53f7a94..8c6c588c 100644 --- a/admin-guide/configuration/package_repositories.md +++ b/admin-guide/configuration/package_repositories.md @@ -2,7 +2,7 @@ ## Package Repository Lists Also for configuring package repositories our configuration management works with lists containing the names of the repositories to be installed. -The default list (except for nodes with the `bootpc` and `appliances::lenovo::*` Puppet roles) is `rpm_repos::default` (legacy: `yum_client::repositories`). +The default list (except for nodes with the `bootpc` and `appliances::lenovo::*` Puppet roles) is `rpm_repos::default`. If repositories are managed in Hiera, feel free to add them to `rpm_repos::default` like ``` @@ -31,8 +31,6 @@ rpm_repos::repo::epel_rhel8: - "slurm*" ``` -The legacy namespace `yum_client::repo::*` is currently used for RHEL7 repositories to be backward compatible as some Hiera configuration with higher precedence overwrites certain stuff. - ### Package Repository Name The reference name used in Hiera (the part after `rpm_repos::repo::` should be globally unique. An unfortunate practice is to use the same name for different package repositories. A current example is the `gfa` repository which has different URLs on different `sysdb` environments. diff --git a/admin-guide/configuration/packages.md b/admin-guide/configuration/packages.md index ed563e5e..bedac529 100644 --- a/admin-guide/configuration/packages.md +++ b/admin-guide/configuration/packages.md @@ -104,14 +104,6 @@ The package repositories for debuginfo packages are disabled by default. To spon dnf --enablerepo '*_debug' install ... ``` -## Legacy Package Installation - -The legacy Hiera lists for package groups is `yum_client::pkg_group::$USE_CASE` and supports the `latest` and `absent` tag, but not the filtering by operating system version. - -Then `yum_client::package_groups` is the Hiera list to contain the package groups to be installed. - -Please migrate them to the equivalent `base::*` list. You can have both of them available at the same time, with possibly the same content. - ## Missing Package If there is no such package in the repositories, then diff --git a/admin-guide/puppet/profiles/rpm_repos.rst b/admin-guide/puppet/profiles/rpm_repos.rst index bb819b64..67f77f3a 100644 --- a/admin-guide/puppet/profiles/rpm_repos.rst +++ b/admin-guide/puppet/profiles/rpm_repos.rst @@ -50,4 +50,4 @@ configured through other means (e.g. manually). A list of names designating the repositories that are to be configured (not necessarily enabled) on the system. If ```` is the name of the repository, then its definition is determined by searching Hiera for the -``yum_client::repo_`` key. +``rpm_repos::repo::`` key.