[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:
parent
adf2f81a4a
commit
ae2a63e899
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue