From 9c0bb691739e04d63992ed89d51dd363b40014f9 Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Sun, 29 Oct 2023 20:13:04 +0100 Subject: [PATCH] Special repos for CentOS 7 --- lib.cf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib.cf b/lib.cf index 6b7eae9..3ec6871 100644 --- a/lib.cf +++ b/lib.cf @@ -196,6 +196,7 @@ reports: + bundle agent install_apt_repo(name,repo_src,key_src,key_name) { classes: @@ -273,6 +274,10 @@ commands: handle=>"system_repos_pkgs_installed"; + centos_8:: + "/usr/bin/dnf" + inform => "false", + args => "config-manager --set-enabled powertools"; centos_9_and_later:: "/usr/bin/dnf"