summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-22 12:31:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-22 12:31:54 -0300
commit8b0e904b4124bec6eeb3212969f2c3a5070b6e37 (patch)
tree5ee516c69a241bf6f874f88c24a52b9517c40cd7
parent15314ee92924cd32df2c4671dcf17b5df38e3769 (diff)
downloadpuppet-apache-8b0e904b4124bec6eeb3212969f2c3a5070b6e37.tar.gz
puppet-apache-8b0e904b4124bec6eeb3212969f2c3a5070b6e37.tar.bz2
Pass log params to apache::site::config
-rw-r--r--manifests/site.pp5
-rw-r--r--manifests/site/config.pp3
2 files changed, 7 insertions, 1 deletions
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),