Add 'template' support to 'user_files' (#159)

* Add support for 'template' in 'user_files'

* Fix-up wrong nesting level for template value

* Small quality improvement for push upstream.

* Consistency improvement for variable name
This commit is contained in:
Jerry van Leeuwen
2017-09-22 13:30:29 +10:00
committed by Toby Brain
parent e03458bb31
commit 4da9b00e75
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ 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
template: jinja
# 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.