Merge pull request #39 from BenGig/master

include options need absolute paths
This commit is contained in:
Bert Van Vreckem 2019-06-22 17:08:35 +02:00 committed by GitHub
commit ce95f7adfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@
{% endif %}
{% if samba_global_include is defined %}
include = {{ samba_global_include }}
include = {{ samba_configuration_dir }}/{{ samba_global_include }}
{% endif %}
{% if samba_load_homes %}
@ -91,7 +91,7 @@
{% endif %}
{% if samba_home_include is defined %}
include = {{ samba_home_include }}
include = {{ samba_configuration_dir }}/{{ samba_home_include }}
{% endif %}
{% if samba_shares|length > 0 %}
@ -138,7 +138,7 @@
directory mode = {{ share.directory_mode|default('0775') }}
force directory mode = {{ share.force_directory_mode|default('0775') }}
{% if share.include_file is defined %}
include = {{ share.include_file }}
include = {{ samba_configuration_dir }}/{{ share.include_file }}
{% endif %}
{% endfor %}