|
|
@@ -173,7 +173,7 @@ users_{{ name }}_user: |
|
|
|
{% elif grains['kernel'] == 'Linux' and |
|
|
|
user['expire'] > 84006 %} |
|
|
|
{# 2932896 days since epoch equals 9999-12-31 #} |
|
|
|
- expire: {{ (user['expire'] / 86400) | int}} |
|
|
|
- expire: {{ (user['expire'] / 86400) | int }} |
|
|
|
{% else %} |
|
|
|
- expire: {{ user['expire'] }} |
|
|
|
{% endif %} |
|
|
@@ -199,7 +199,7 @@ users_{{ name }}_user: |
|
|
|
{% if 'optional_groups' in user %} |
|
|
|
- optional_groups: |
|
|
|
{% for optional_group in user['optional_groups'] -%} |
|
|
|
- {{optional_group}} |
|
|
|
- {{ optional_group }} |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
- require: |