diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 19:17:31 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 19:17:31 -0200 |
commit | b936755f402e7be72d00d5ccb618c222fbea23fc (patch) | |
tree | afdc6ca732f87ae4ce1f37d7c3fb5ce6ffef18ba /manifests | |
parent | 5ccb78707ac02dd2fa44be5822d712d941c21e65 (diff) | |
download | puppet-apache-b936755f402e7be72d00d5ccb618c222fbea23fc.tar.gz puppet-apache-b936755f402e7be72d00d5ccb618c222fbea23fc.tar.bz2 |
Adding $apache_use_domain
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index e921255..edd84a8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -92,6 +92,11 @@ class apache { '': { $apache_error_dest = "${apache_error_folder}/index.html" } } + $use_domain = $apache_use_domain ? { + '' => $domain, + default => $apache_use_domain, + } + define site($ensure = present, $docroot = false, $redirect = false, $redirect_match = false, $protocol = 'http', $server_alias = false, $use = false, $ticket = false, |