From bae276589e7821249e150835710363a5a2894066 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 6 May 2019 15:57:30 -0400 Subject: [PATCH] Added additional groups for consul user --- consul/install.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/consul/install.sls b/consul/install.sls index 8c3b2d1..59d9b58 100644 --- a/consul/install.sls +++ b/consul/install.sls @@ -23,6 +23,9 @@ consul-user: - name: {{ consul.user }} - groups: - {{ consul.group }} + {% for groupname in consul.groups -%} + - {{ groupname }} + {%- endfor %}} - home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }} - createhome: False - system: True