[users/init] use dir_mode in addition to mode

To get it to work with RHEL7 with salt 2018.x
This commit is contained in:
Arthur Lutz 2018-11-06 18:04:15 +01:00 committed by GitHub
parent adf2f81a4a
commit ae2a63e899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ user_keydir_{{ name }}:
- group: {{ user_group }} - group: {{ user_group }}
- makedirs: True - makedirs: True
- mode: 700 - mode: 700
- dir_mode: 700
- require: - require:
- user: {{ name }} - user: {{ name }}
- group: {{ user_group }} - group: {{ user_group }}