[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

View File

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