Browse Source

Merge branch '173-makdirs' into 'master'

[init] add makedirs to home directory creation

See merge request saltstack/formulas/users-formula!1
master
Guillaume Lecoquierre 6 years ago
parent
commit
5cb4aa5dfa
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      users/init.sls

+ 1
- 0
users/init.sls View File

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

Loading…
Cancel
Save