up2date
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user