21 |
} |
} |
22 |
} |
} |
23 |
|
|
24 |
|
class www inherits base { |
25 |
|
include apache::mod_php |
26 |
|
include apache::mod_geoip |
27 |
|
$vhostdir = "$webdatadir/www.$domain" |
28 |
|
$svn_location = "svn://svn.$domain/svn/web/www/trunk" |
29 |
|
|
30 |
|
subversion::snapshot { $vhostdir: |
31 |
|
source => $svn_location |
32 |
|
} |
33 |
|
|
34 |
|
apache::vhost_base { "www-test.$domain": |
35 |
|
content => template('websites/vhost_www.conf'), |
36 |
|
} |
37 |
|
|
38 |
|
package { ['php-mbstring', 'php-mcrypt', 'php-gettext']: |
39 |
|
ensure => "installed", |
40 |
|
} |
41 |
|
} |
42 |
|
|
43 |
class hugs inherits base { |
class hugs inherits base { |
44 |
$vhostdir = "$webdatadir/hugs.$domain" |
$vhostdir = "$webdatadir/hugs.$domain" |
45 |
$svn_location = "svn://svn.$domain/svn/web/hugs/public/" |
$svn_location = "svn://svn.$domain/svn/web/hugs/public/" |