From 4da4e6e5e45c1b9795e5e0accd6384ee876811a6 Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Mon, 9 Oct 2023 12:16:05 +0200 Subject: [PATCH] Initial commit --- git.cf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 git.cf diff --git a/git.cf b/git.cf new file mode 100644 index 0000000..0e485e9 --- /dev/null +++ b/git.cf @@ -0,0 +1,20 @@ +# +# +# +bundle agent git +{ +vars: + freebsd:: + "pkgs" slist => { "git" }; + "exe" string => "/usr/local/bin/git"; + + debian:: + "pkgs" slist => { "git" }; + "exe" string => "/usr/bin/git"; +} + +bundle agent install_git +{ +methods: + "any" usebundle => wmde_install_packages(@(git.pkgs),"git"); +}