From f9f22ea397bf531590fb7ac0f2ec112a2e13ab85 Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Fri, 27 Oct 2023 21:32:14 +0200 Subject: [PATCH] bundle to install system repos (centos) --- lib.cf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib.cf b/lib.cf index bc1a5a4..38c679f 100644 --- a/lib.cf +++ b/lib.cf @@ -242,4 +242,16 @@ methods: } +bundle agent install_system_repos +{ +vars: + "pkgs" slist => {}; + centos:: + "pkgs" slist => { + "epel-release" + }; + +methods: + "any" usebundle => wmde_install_packages(@(pkgs),"system_repos"); +}