From 34c0218735e3ded18fe6bcbdbc7d36ddb325eedd Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 9 Apr 2023 21:02:44 -0500 Subject: [PATCH] create new environment for local/acg content --- Vagrantfile | 2 ++ salt_content/local/salt/{ => acg}/.gitkeep | 0 salt_content/local/salt/acg/neofetch/init.sls | 3 +++ salt_content/local/salt/acg/neofetch/uninstall.sls | 3 +++ salt_content/local/salt/acg/top.sls | 4 ++++ 5 files changed, 12 insertions(+) rename salt_content/local/salt/{ => acg}/.gitkeep (100%) create mode 100644 salt_content/local/salt/acg/neofetch/init.sls create mode 100644 salt_content/local/salt/acg/neofetch/uninstall.sls create mode 100644 salt_content/local/salt/acg/top.sls diff --git a/Vagrantfile b/Vagrantfile index f0bfdda..2f0ac8e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -24,6 +24,8 @@ auto_accept: True file_roots: base: - /srv/salt + acg: + - /srv/salt/acg fileserver_backend: - roots - gitfs diff --git a/salt_content/local/salt/.gitkeep b/salt_content/local/salt/acg/.gitkeep similarity index 100% rename from salt_content/local/salt/.gitkeep rename to salt_content/local/salt/acg/.gitkeep diff --git a/salt_content/local/salt/acg/neofetch/init.sls b/salt_content/local/salt/acg/neofetch/init.sls new file mode 100644 index 0000000..445ce27 --- /dev/null +++ b/salt_content/local/salt/acg/neofetch/init.sls @@ -0,0 +1,3 @@ +install_neofetch: + pkg.installed: + - name: neofetch diff --git a/salt_content/local/salt/acg/neofetch/uninstall.sls b/salt_content/local/salt/acg/neofetch/uninstall.sls new file mode 100644 index 0000000..2d8368d --- /dev/null +++ b/salt_content/local/salt/acg/neofetch/uninstall.sls @@ -0,0 +1,3 @@ +uninstall_neofetch: + pkg.removed: + - name: neofetch diff --git a/salt_content/local/salt/acg/top.sls b/salt_content/local/salt/acg/top.sls new file mode 100644 index 0000000..6e4965c --- /dev/null +++ b/salt_content/local/salt/acg/top.sls @@ -0,0 +1,4 @@ +acg: + 'roles:acglab': + - match: grain + - neofetch