From ac1f334a43178744734b9961f6c690dd9fea9730 Mon Sep 17 00:00:00 2001 From: Silvio Kunaschk Date: Sun, 24 Sep 2017 12:16:43 +0200 Subject: [PATCH] corrected saltversioninfo check expression --- users/init.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/init.sls b/users/init.sls index f910ea3..9b6f1ac 100644 --- a/users/init.sls +++ b/users/init.sls @@ -462,7 +462,7 @@ users_googleauth-{{ svc }}-{{ name }}: {% if 'gitconfig' in user %} {% for key, value in user['gitconfig'].items() %} users_{{ name }}_user_gitconfig_{{ loop.index0 }}: - {% if grains['saltversioninfo'] >= (2015, 8, 0, 0) %} + {% if grains['saltversioninfo'] >= [2015, 8, 0, 0] %} git.config_set: {% else %} git.config: @@ -470,7 +470,7 @@ users_{{ name }}_user_gitconfig_{{ loop.index0 }}: - name: {{ key }} - value: "{{ value }}" - user: {{ name }} - {% if grains['saltversioninfo'] >= (2015, 8, 0, 0) %} + {% if grains['saltversioninfo'] >= [2015, 8, 0, 0] %} - global: True {% else %} - is_global: True