From 8b0e904b4124bec6eeb3212969f2c3a5070b6e37 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 22 Jun 2018 12:31:54 -0300 Subject: Pass log params to apache::site::config --- manifests/site.pp | 5 ++++- manifests/site/config.pp | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index e499ac9..818cd21 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -30,10 +30,10 @@ define apache::site( $https_redirect = false, $canonical = false, $canonical_exceptions = '', + $custom_log_format = 'anon', $hidden_service = false, $error_log = false, $custom_log = false, - $custom_log_format = 'anon', $custom_directives = false, $allow_override = false, $hosting_domain = hiera('apache::site::domain', $::domain), @@ -105,6 +105,9 @@ define apache::site( https_redirect => $https_redirect, canonical => $canonical, canonical_exceptions => $canonical_exceptions, + error_log => $error_log, + custom_log => $custom_log, + custom_log_format => $custom_log_format, custom_directives => $custom_directives, allow_override => $allow_override, hosting_domain => $hosting_domain, diff --git a/manifests/site/config.pp b/manifests/site/config.pp index bce4e7f..4440e59 100644 --- a/manifests/site/config.pp +++ b/manifests/site/config.pp @@ -18,6 +18,9 @@ define apache::site::config( $https_redirect = false, $canonical = false, $canonical_exceptions = '', + $custom_log_format = 'anon', + $error_log = false, + $custom_log = false, $custom_directives = false, $allow_override = false, $hosting_domain = hiera('apache::site::domain', $::domain), -- cgit v1.2.3