diff --git a/manifests/resource/location.pp b/manifests/resource/location.pp index e2e46a322..2a0f0b5fe 100644 --- a/manifests/resource/location.pp +++ b/manifests/resource/location.pp @@ -71,6 +71,7 @@ # [*location_cfg_append*] - Expects a hash with extra directives to put # after everything else inside location (used with all other types except # custom_cfg) +# [*include*] - An array of files to include for this location # [*try_files*] - An array of file locations to try # [*option*] - Reserved for future use # [*proxy_cache*] - This directive sets name of zone for caching. diff --git a/templates/vhost/location_footer.erb b/templates/vhost/location_footer.erb index 287e41ca4..dc2a73227 100644 --- a/templates/vhost/location_footer.erb +++ b/templates/vhost/location_footer.erb @@ -35,7 +35,7 @@ <% end -%> <% if @include -%> <% @include.each do |include_file| -%> - include <%= include_file %>; + include <%= include_file %>; <%- end -%> <% end -%> }