From 295c0c0650d87cb257c306d77be45868754c5375 Mon Sep 17 00:00:00 2001 From: Lukas Plattner Date: Thu, 21 Aug 2014 15:21:04 +0200 Subject: [PATCH 1/2] Create include files also with custom template --- manifests/vcl.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/vcl.pp b/manifests/vcl.pp index 174e464..6562244 100644 --- a/manifests/vcl.pp +++ b/manifests/vcl.pp @@ -79,9 +79,9 @@ file { "$includedir": ensure => directory, } + } $includefiles = ["probes", "backends", "directors", "acls", "backendselection", "waf"] includefile { $includefiles: } - } # vcl file From 5e800bb37f16f14ac7a9e833bcc9d5ffd2b0d623 Mon Sep 17 00:00:00 2001 From: Lukas Plattner Date: Thu, 21 Aug 2014 15:37:26 +0200 Subject: [PATCH 2/2] Create include files also with custom template --- manifests/vcl.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/vcl.pp b/manifests/vcl.pp index 6562244..b666272 100644 --- a/manifests/vcl.pp +++ b/manifests/vcl.pp @@ -76,10 +76,10 @@ } else { $template_vcl = 'varnish/varnish-vcl.erb' + } file { "$includedir": ensure => directory, } - } $includefiles = ["probes", "backends", "directors", "acls", "backendselection", "waf"] includefile { $includefiles: }