diff options
author | mh <mh@immerda.ch> | 2014-04-14 23:03:56 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-04-14 23:03:56 +0200 |
commit | 49d954d80d8b340dfcfdf939092d57754c3449f8 (patch) | |
tree | 5862e29b0cb272245618dfd41e926c23946f6b8d /templates/vhosts/webdav | |
parent | c52c48534d76b0a9c965784bd12eb1c1fccd94c6 (diff) |
more identation fixing
Diffstat (limited to 'templates/vhosts/webdav')
-rw-r--r-- | templates/vhosts/webdav/partial.erb | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/templates/vhosts/webdav/partial.erb b/templates/vhosts/webdav/partial.erb index d89da50..b97e128 100644 --- a/templates/vhosts/webdav/partial.erb +++ b/templates/vhosts/webdav/partial.erb @@ -1,21 +1,21 @@ - DAVLockDB <%= real_dav_db_dir %>/DAVLock - <Directory "<%= documentroot %>/"> - Dav on - AllowOverride None - <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> - Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%><%- unless options.include?('Indexes') then -%> Indexes<%- end -%> + DAVLockDB <%= real_dav_db_dir %>/DAVLock + <Directory "<%= documentroot %>/"> + Dav on + AllowOverride None +<% if options.to_s != 'absent' or do_includes.to_s == 'true' -%> + Options <%- unless options.to_s == 'absent' -%><%= options %><%- end -%><%- unless options.include?('Indexes') -%> Indexes<%- end -%> - <%- else -%> - Options Indexes +<% else -%> + Options Indexes - <%- end -%> +<% end -%> <%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %> - <%- if ldap_auth.to_s == 'true' then -%> - Include include.d/ldap_auth.inc - <%- unless ldap_user.to_s == 'any' -%> - Require ldap-user <%= ldap_user.to_s %> - <%- else -%> - Require valid-user - <%- end -%> - <%- end -%> - </Directory> +<% if ldap_auth.to_s == 'true' then -%> + Include include.d/ldap_auth.inc +<% unless ldap_user.to_s == 'any' -%> + Require ldap-user <%= ldap_user.to_s %> +<% else -%> + Require valid-user +<% end + end -%> + </Directory> |