Commit 63ffc720 authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

fix home permissions

parent 819d4aa4
{#- Get the `tplroot` from `tpldir` #}
{%- set fbkusersroot = slspath.split('/')[0] %}
{%- from fbkusersroot ~ "/map.jinja" import fbkuserssettings with context %}
{% if pillar.fbkusers is defined %}
{% for user in pillar.fbkusers %}
/home/{{ user }}:
file.directory:
- user: {{ user }}
- group: {{ user }}
{% endfor %}
{% else %}
fbkusers-pillar-not-defined:
test.nop
{% endif %}
\ No newline at end of file
include:
- .createuser
\ No newline at end of file
- .createuser
- .fixhomepermission
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment