Clean up spaces and indentation

This commit is contained in:
Bert Van Vreckem 2015-11-05 11:13:00 +01:00
parent c17b6e5151
commit 848fcce978

View File

@ -46,28 +46,29 @@
{% endif %} {% endif %}
{% if samba_shares is defined %} {% if samba_shares is defined %}
## Shared directories
{% for share in samba_shares %} {% for share in samba_shares %}
[{{ share.name }}] [{{ share.name }}]
{% if share.comment is defined %} {% if share.comment is defined %}
comment = {{ share.comment }} comment = {{ share.comment }}
{% endif %} {% endif %}
path = {{ samba_shares_root }}/{{ share.name }} path = {{ samba_shares_root }}/{{ share.name }}
public = {{ share.public|default('no') }} public = {{ share.public|default('no') }}
{% if share.valid_users is defined %} {% if share.valid_users is defined %}
valid users= {{ share.valid_users }} valid users= {{ share.valid_users }}
{% endif %} {% endif %}
{% if share.write_list is defined %} {% if share.write_list is defined %}
write list = {{ share.write_list }} write list = {{ share.write_list }}
{% endif %} {% endif %}
{% if share.group is defined %}
{% if share.group is defined %}
force group = {{ share.group }} force group = {{ share.group }}
{% endif %} {% endif %}
create mask = {{ share.create_mask|default('0664') }} create mask = {{ share.create_mask|default('0664') }}
create mode = {{ share.create_mode|default('0664') }} create mode = {{ share.create_mode|default('0664') }}
force create mode = {{ share.force_create_mode|default('0664') }} force create mode = {{ share.force_create_mode|default('0664') }}
directory mask = {{ share.directory_mask|default('0775') }} directory mask = {{ share.directory_mask|default('0775') }}
directory mode = {{ share.directory_mode|default('0775') }} directory mode = {{ share.directory_mode|default('0775') }}
force directory mode = {{ share.force_directory_mode|default('0775') }} force directory mode = {{ share.force_directory_mode|default('0775') }}
{% endfor %} {% endfor %}
{% endif%} {% endif%}