summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/site.pp42
1 files changed, 32 insertions, 10 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 82f7a8e..6b923fb 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1,13 +1,35 @@
-define apache::site($ensure = present, $docroot = false, $redirect = false,
- $redirect_match = false, $protocol = 'http', $aliases = false,
- $server_alias = false, $use = false, $ticket = false,
- $source = false, $template = 'apache/site.erb', $filename = '',
- $manage_docroot = true, $owner = 'root', $group = 'root',
- $mpm = true, $mpm_user = '', $mpm_group = '', $password = '*',
- $comment = '', $sshkey = absent,
- $groups = '', $shell = '/bin/false', $manage_user = true,
- $ssl = false, $listen = '*', $https_redirect = false,
- $canonical = false, $canonical_exceptions = '', $hidden_service = false) {
+define apache::site(
+ $ensure = present,
+ $docroot = false,
+ $redirect = false,
+ $redirect_match = false,
+ $protocol = 'http',
+ $aliases = false,
+ $server_alias = false,
+ $use = false,
+ $ticket = false,
+ $source = false,
+ $template = 'apache/site.erb',
+ $filename = '',
+ $manage_docroot = true,
+ $owner = 'root',
+ $group = 'root',
+ $mpm = true,
+ $mpm_user = '',
+ $mpm_group = '',
+ $password = '*',
+ $comment = '',
+ $sshkey = absent,
+ $groups = '',
+ $shell = '/bin/false',
+ $manage_user = true,
+ $ssl = false,
+ $listen = '*',
+ $https_redirect = false,
+ $canonical = false,
+ $canonical_exceptions = '',
+ $hidden_service = false
+) {
$vhost = $filename ? {
'' => "$title",