Browse Source

support password expiration

tags/v0.45.0
Michael Zabriskie 6 years ago
parent
commit
0ad7d0764e
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      users/init.sls

+ 12
- 0
users/init.sls View File

- expire: {{ user['expire'] }} - expire: {{ user['expire'] }}
{% endif %} {% endif %}
{% endif -%} {% endif -%}
{% if 'mindays' in user %}
- mindays: {{ user.get('mindays', None) }}
{% endif %}
{% if 'maxdays' in user %}
- maxdays: {{ user.get('maxdays', None) }}
{% endif %}
{% if 'inactdays' in user %}
- inactdays: {{ user.get('inactdays', None) }}
{% endif %}
{% if 'warndays' in user %}
- warndays: {{ user.get('warndays', None) }}
{% endif %}
- remove_groups: {{ user.get('remove_groups', 'False') }} - remove_groups: {{ user.get('remove_groups', 'False') }}
- groups: - groups:
- {{ user_group }} - {{ user_group }}

Loading…
Cancel
Save