From b84e79bd3168fa51b9ec414000ee1200d6f7c905 Mon Sep 17 00:00:00 2001 From: Maximilian Zettler Date: Sat, 29 Sep 2018 13:15:56 +0200 Subject: [PATCH] fix used_polkit --- users/init.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/init.sls b/users/init.sls index 5a9a8d6..b873e04 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 %}