0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-27 22:38:34 +01:00

fix used_polkit

This commit is contained in:
Maximilian Zettler 2018-09-29 13:15:56 +02:00
parent 83c9ad42c8
commit b84e79bd31

View File

@ -3,7 +3,7 @@
{% set used_sudo = [] %}
{% set used_googleauth = [] %}
{% set used_user_files = [] %}
{% set used_polkit = False %}
{% set used_polkit = [] %}
{%- for name, user in pillar.get('users', {}).items()
if user.absent is not defined or not user.absent %}
@ -20,7 +20,7 @@
{%- do used_user_files.append(1) %}
{%- endif %}
{%- if user.get('polkitadmin', False) == True %}
{%- set used_polkit = True %}
{%- do used_polkit.append(1) %}
{%- endif %}
{%- endfor %}