From d29c6230dff2ec073b42dc41e5739a0f93f95039 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Mon, 11 Nov 2024 04:11:34 -0700 Subject: [PATCH] Add which to rocky --- custom/testing/golden-state-tree/os/rocky/pkgs/init.sls | 1 + custom/testing/golden-state-tree/pkgs/which.sls | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 custom/testing/golden-state-tree/pkgs/which.sls diff --git a/custom/testing/golden-state-tree/os/rocky/pkgs/init.sls b/custom/testing/golden-state-tree/os/rocky/pkgs/init.sls index 38a11c8..858770f 100644 --- a/custom/testing/golden-state-tree/os/rocky/pkgs/init.sls +++ b/custom/testing/golden-state-tree/os/rocky/pkgs/init.sls @@ -1,4 +1,5 @@ include: + - pkgs.which - pkgs.cron - pkgs.curl - pkgs.dmidecode diff --git a/custom/testing/golden-state-tree/pkgs/which.sls b/custom/testing/golden-state-tree/pkgs/which.sls new file mode 100644 index 0000000..930ffbb --- /dev/null +++ b/custom/testing/golden-state-tree/pkgs/which.sls @@ -0,0 +1,5 @@ +{%- set which = 'which' %} + +which: + pkg.installed: + - name: {{ which }}