diff options
Diffstat (limited to 'deployment/websites/manifests/init.pp')
-rw-r--r-- | deployment/websites/manifests/init.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp index 15ac5812..34593b1a 100644 --- a/deployment/websites/manifests/init.pp +++ b/deployment/websites/manifests/init.pp @@ -24,6 +24,7 @@ class websites { class www inherits base { include apache::mod_php include apache::mod_geoip + $vhost = "www-test.$domain" $vhostdir = "$webdatadir/www.$domain" $svn_location = "svn://svn.$domain/svn/web/www/trunk" @@ -31,7 +32,14 @@ class websites { source => $svn_location } - apache::vhost_base { "www-test.$domain": + apache::vhost_base { "$vhost": + content => template('websites/vhost_www.conf'), + location => $vhostdir, + options => ['FollowSymLinks'], + } + apache::vhost_base { "ssl_$vhost": + use_ssl => true, + vhost => $vhost, content => template('websites/vhost_www.conf'), location => $vhostdir, options => ['FollowSymLinks'], |