fix used_polkit

This commit is contained in:
Maximilian Zettler 2018-09-29 13:15:56 +02:00
parent 83c9ad42c8
commit b84e79bd31
1 changed files with 2 additions and 2 deletions

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 %}