]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Pass log params to apache::site::config
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 22 Jun 2018 15:31:54 +0000 (12:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 22 Jun 2018 15:31:54 +0000 (12:31 -0300)
manifests/site.pp
manifests/site/config.pp

index e499ac98e10091751dca93070a867305334e8a46..818cd2147ee0439e15d7c020d6a624628928197e 100644 (file)
@@ -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,
index bce4e7fdaba02d75f5a5f056774b4ed037f4bec0..4440e59528015ec6315d1ba2cb088132a88ec544 100644 (file)
@@ -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),