summaryrefslogtreecommitdiff
path: root/manifests/vhost.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost.pp')
-rw-r--r--manifests/vhost.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/vhost.pp b/manifests/vhost.pp
index 559a531..16cdd95 100644
--- a/manifests/vhost.pp
+++ b/manifests/vhost.pp
@@ -44,16 +44,16 @@ define httpd::vhost(
44 $vhost_name = $httpd::params::vhost_name 44 $vhost_name = $httpd::params::vhost_name
45 ) { 45 ) {
46 46
47 include httpd 47 include ::httpd
48 48
49 if $servername == '' { 49 if $servername == undef {
50 $srvname = $name 50 $srvname = $name
51 } else { 51 } else {
52 $srvname = $servername 52 $srvname = $servername
53 } 53 }
54 54
55 if $ssl == true { 55 if $ssl == true {
56 include httpd::ssl 56 include ::httpd::ssl
57 } 57 }
58 58
59 # Since the template will use auth, redirect to https requires mod_rewrite 59 # Since the template will use auth, redirect to https requires mod_rewrite