Fix for CentOS 8 -> 9
This commit is contained in:
parent
578ba9e6de
commit
1733552f7e
11
lib.cf
11
lib.cf
|
@ -243,15 +243,24 @@ methods:
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle agent install_system_repos
|
bundle agent install_system_repos
|
||||||
|
|
||||||
{
|
{
|
||||||
|
classes:
|
||||||
|
centos::
|
||||||
|
"centos_9_and_later" expression => isgreaterthan("$(sys.os_version_major)", "8") ;
|
||||||
vars:
|
vars:
|
||||||
"pkgs" slist => {};
|
"pkgs" slist => {};
|
||||||
centos::
|
centos::
|
||||||
"pkgs" slist => {
|
"pkgs" slist => {
|
||||||
"epel-release"
|
"epel-release"
|
||||||
};
|
};
|
||||||
|
commands:
|
||||||
|
centos_9_and_later::
|
||||||
|
"/usr/bin/dnf"
|
||||||
|
inform => "false",
|
||||||
|
args => "config-manager --set-enabled crb";
|
||||||
methods:
|
methods:
|
||||||
"any" usebundle => wmde_install_packages(@(pkgs),"system_repos");
|
"any" usebundle => wmde_install_packages(@(pkgs),"system_repos");
|
||||||
|
|
||||||
|
reports:
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue