Pārlūkot izejas kodu

Merge pull request #161 from qno/master

corrected saltversioninfo check expression
master
Niels Abspoel pirms 7 gadiem
vecāks
revīzija
a133ef1c8b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      users/init.sls

+ 2
- 2
users/init.sls Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt