0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2026-05-24 10:22:32 +02:00

[users/init] createhome default to True

This commit is contained in:
Arthur Lutz 2019-07-10 11:42:23 +02:00 committed by GitHub
parent 7884fe6b29
commit 0bebf3e7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ include:
{%- endif -%}
{%- set current = salt.user.info(name) -%}
{%- set home = user.get('home', current.get('home', "/home/%s" % name)) -%}
{%- set createhome = user.get('createhome') -%}
{%- set createhome = user.get('createhome', True) -%}
{%- if 'prime_group' in user and 'name' in user['prime_group'] %}
{%- set user_group = user.prime_group.name -%}