From c8f5d97234e8742f4cceb3058f099bc82bcc96e7 Mon Sep 17 00:00:00 2001 From: Salvatore Rinchiera Date: Thu, 17 Nov 2016 19:55:59 +0000 Subject: [PATCH] Fix issue #976 --- manifests/resource/location.pp | 1 + templates/vhost/location_footer.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -%> }