diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-06 17:13:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-06 17:13:00 -0300 |
commit | 30ef26d2b0b19156f134a5b56e5daaabc19db4e7 (patch) | |
tree | 07fe75ae35d300c4bb7af6ecb6c0fcc49fd4d856 | |
parent | c6632ef18747a32ec2bd943a2e3c84a2be278514 (diff) | |
download | puppet-apache-30ef26d2b0b19156f134a5b56e5daaabc19db4e7.tar.gz puppet-apache-30ef26d2b0b19156f134a5b56e5daaabc19db4e7.tar.bz2 |
Coding style
-rw-r--r-- | manifests/site.pp | 42 |
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", |