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