diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 19:27:05 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 19:27:05 -0200 |
commit | cae28ffea81f002bd09dd596af221c18372daeef (patch) | |
tree | 48ce149718bbc873827f0c50f3966afaeeb8339e /manifests | |
parent | b936755f402e7be72d00d5ccb618c222fbea23fc (diff) | |
download | puppet-apache-cae28ffea81f002bd09dd596af221c18372daeef.tar.gz puppet-apache-cae28ffea81f002bd09dd596af221c18372daeef.tar.bz2 |
Adding $apache_use_domain (2)
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index edd84a8..cdd4d6e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -92,9 +92,8 @@ class apache { '': { $apache_error_dest = "${apache_error_folder}/index.html" } } - $use_domain = $apache_use_domain ? { - '' => $domain, - default => $apache_use_domain, + case $apache_use_domain { + '' { $apache_use_domain = $domain } } define site($ensure = present, $docroot = false, $redirect = false, |