1 |
misc |
2580 |
class websites::releases { |
2 |
|
|
include websites::base |
3 |
|
|
$vhost = "releases.$::domain" |
4 |
|
|
$vhostdir = "$websites::base::webdatadir/$vhost" |
5 |
|
|
$svn_location = "svn://svn.$::domain/svn/web/releases/" |
6 |
misc |
2203 |
|
7 |
misc |
2691 |
apache::vhost::base { $vhost: |
8 |
misc |
2580 |
location => $vhostdir, |
9 |
|
|
options => [ 'FollowSymLinks' ], |
10 |
|
|
} |
11 |
misc |
2203 |
|
12 |
misc |
2691 |
apache::vhost::base { "ssl_$vhost": |
13 |
misc |
2580 |
vhost => $vhost, |
14 |
|
|
use_ssl => true, |
15 |
|
|
location => $vhostdir, |
16 |
|
|
options => [ 'FollowSymLinks' ], |
17 |
|
|
} |
18 |
misc |
2203 |
|
19 |
misc |
2580 |
subversion::snapshot { $vhostdir: |
20 |
|
|
source => $svn_location, |
21 |
misc |
2203 |
} |
22 |
|
|
} |