summaryrefslogtreecommitdiff
path: root/manifests/vhost/proxy.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost/proxy.pp')
-rw-r--r--manifests/vhost/proxy.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/vhost/proxy.pp b/manifests/vhost/proxy.pp
index 9e44da7..72d091d 100644
--- a/manifests/vhost/proxy.pp
+++ b/manifests/vhost/proxy.pp
@@ -23,24 +23,24 @@ define httpd::vhost::proxy (
23 $dest, 23 $dest,
24 $priority = '10', 24 $priority = '10',
25 $template = 'httpd/vhost-proxy.conf.erb', 25 $template = 'httpd/vhost-proxy.conf.erb',
26 $servername = '', 26 $servername = undef,
27 $serveraliases = '', 27 $serveraliases = undef,
28 $ssl = false, 28 $ssl = false,
29 $vhost_name = '*' 29 $vhost_name = '*'
30 ) { 30 ) {
31 31
32 include httpd 32 include ::httpd
33 33
34 $apache_name = $httpd::params::apache_name 34 $apache_name = $httpd::params::apache_name
35 $ssl_path = $httpd::params::ssl_path 35 $ssl_path = $httpd::params::ssl_path
36 if $servername == '' { 36 if $servername == undef {
37 $srvname = $name 37 $srvname = $name
38 } else { 38 } else {
39 $srvname = $servername 39 $srvname = $servername
40 } 40 }
41 41
42 if $ssl == true { 42 if $ssl == true {
43 include httpd::ssl 43 include ::httpd::ssl
44 } 44 }
45 45
46 file { "${priority}-${name}": 46 file { "${priority}-${name}":