From af18c4a9402f7f15938606569b326bab5833c410 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sun, 27 Oct 2024 02:21:40 +0100 Subject: [PATCH] Refactor top.sls and add packages/init.sls - Refactor top.sls to remove the 'sudo' state and add the 'packages' state. - Add packages/init.sls file to install the 'bash' package. --- packages/init.sls | 5 +++++ top.sls | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 packages/init.sls diff --git a/packages/init.sls b/packages/init.sls new file mode 100644 index 0000000..2137f65 --- /dev/null +++ b/packages/init.sls @@ -0,0 +1,5 @@ + +packages: + pkg.installed: + - pkgs: + - bash \ No newline at end of file diff --git a/top.sls b/top.sls index 6e31cb7..a512520 100644 --- a/top.sls +++ b/top.sls @@ -1,7 +1,8 @@ base: '*': - users - - ssh - sudo + - ssh - docker + - packages