This commit is contained in:
root
2020-05-09 13:50:53 -04:00
parent fc2ea8f76b
commit 94cf5ca183
5 changed files with 23 additions and 4 deletions

View File

@@ -25,10 +25,10 @@
valid users = %S
{% endif %}
{% for name, path in salt.pillar.get('samba:shares', {}).items() %}
{% for name, conf in salt.pillar.get('samba:shares', {}).items() %}
[{{ name }}]
path = {{ path }}
valid users = @sambashare
read only = yes
path = {{ conf['path'] }}
valid users = {{ conf['users'] }}
read only = {{ conf['readonly'] }}
{% endfor %}