From af2c5b00611388e8580f42f984a97eba943b0c1f Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Wed, 8 Feb 2023 21:20:56 +0100 Subject: [PATCH] Add keepalived_script_user profile Short profile source from other profiles requiring the keepalived_script user to be present. Signed-off-by: Georg Pfuetzenreuter --- salt/profile/keepalived_script_user/init.sls | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 salt/profile/keepalived_script_user/init.sls diff --git a/salt/profile/keepalived_script_user/init.sls b/salt/profile/keepalived_script_user/init.sls new file mode 100644 index 0000000..6f7e13c --- /dev/null +++ b/salt/profile/keepalived_script_user/init.sls @@ -0,0 +1,7 @@ +keepalived_script_user: + user.present: + - name: keepalived_script + - createhome: False + - home: /var/lib/keepalived + - shell: /usr/sbin/nologin + - system: True