Special repos for CentOS 7

This commit is contained in:
Tobias Herre 2023-10-29 20:13:04 +01:00
parent dcf16d21b4
commit 9c0bb69173
1 changed files with 5 additions and 0 deletions

5
lib.cf
View File

@ -196,6 +196,7 @@ reports:
bundle agent install_apt_repo(name,repo_src,key_src,key_name) bundle agent install_apt_repo(name,repo_src,key_src,key_name)
{ {
classes: classes:
@ -273,6 +274,10 @@ commands:
handle=>"system_repos_pkgs_installed"; handle=>"system_repos_pkgs_installed";
centos_8::
"/usr/bin/dnf"
inform => "false",
args => "config-manager --set-enabled powertools";
centos_9_and_later:: centos_9_and_later::
"/usr/bin/dnf" "/usr/bin/dnf"