Add ability to specify mode for files and symlinks in user_files

This commit is contained in:
Hatifnatt
2017-03-23 12:27:32 +03:00
parent 8c6bbafd9b
commit 33287f650f
2 changed files with 13 additions and 0 deletions
+5
View File
@@ -119,6 +119,11 @@ users:
# should be a salt fileserver path either with or without 'salt://'
# if not present, it defaults to 'salt://users/files/user/<username>
source: users/files/default
# You can specify octal mode for files and symlinks that will be copied. Since version 2016.11.0
# it's possible to use 'keep' for file_mode, to preserve file original mode, thus you can save
# execution bit for example.
file_mode: keep
sym_mode: 640
## Absent user
cuser: