Browse Source

Merge pull request #174 from arthurlogilab/173-makdirs

[init] add makedirs to home directory creation
tags/v0.45.0
N 6 years ago
parent
commit
877bdb0d80
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      users/init.sls

+ 1
- 0
users/init.sls View File

- user: {{ user.get('homedir_owner', name) }} - user: {{ user.get('homedir_owner', name) }}
- group: {{ user.get('homedir_group', user_group) }} - group: {{ user.get('homedir_group', user_group) }}
- mode: {{ user.get('user_dir_mode', '0750') }} - mode: {{ user.get('user_dir_mode', '0750') }}
- makedirs: True
- require: - require:
- user: users_{{ name }}_user - user: users_{{ name }}_user
- group: {{ user_group }} - group: {{ user_group }}

Loading…
Cancel
Save