|
|
|
|
|
|
|
|
{%- endif -%} |
|
|
{%- endif -%} |
|
|
{%- set current = salt.user.info(name) -%} |
|
|
{%- set current = salt.user.info(name) -%} |
|
|
{%- set home = user.get('home', current.get('home', "/home/%s" % name)) -%} |
|
|
{%- set home = user.get('home', current.get('home', "/home/%s" % name)) -%} |
|
|
{%- set createhome = user.get('createhome') -%} |
|
|
|
|
|
|
|
|
{%- set createhome = user.get('createhome', users.get('createhome')) -%} |
|
|
|
|
|
|
|
|
{%- if 'prime_group' in user and 'name' in user['prime_group'] %} |
|
|
{%- if 'prime_group' in user and 'name' in user['prime_group'] %} |
|
|
{%- set user_group = user.prime_group.name -%} |
|
|
{%- set user_group = user.prime_group.name -%} |