diff options
Diffstat (limited to 'deployment/websites/manifests/www.pp')
-rw-r--r-- | deployment/websites/manifests/www.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/websites/manifests/www.pp b/deployment/websites/manifests/www.pp index 6a3d9963..8d5443d8 100644 --- a/deployment/websites/manifests/www.pp +++ b/deployment/websites/manifests/www.pp @@ -1,7 +1,7 @@ class websites::www { include websites::base $vhost = "www.${::domain}" - $vhostdir = "$websites::base::webdatadir/${vhost}" + $vhostdir = "${websites::base::webdatadir}/${vhost}" $git_location = "git://git.${::domain}/web/www" include apache::var @@ -45,13 +45,13 @@ class websites::www { options => ['FollowSymLinks'], } - apache::vhost_redirect { ${::domain}: + apache::vhost_redirect { "${::domain}": url => "http://www.${::domain}/", } apache::vhost_redirect { "ssl_${::domain}": use_ssl => true, - vhost => ${::domain}, + vhost => "${::domain}", url => "https://www.${::domain}/", } |