1 |
class websites { |
class websites::hugs { |
2 |
class hugs inherits base { |
include websites::base |
|
$vhostdir = "$webdatadir/hugs.$domain" |
|
|
$svn_location = "svn://svn.$domain/svn/web/hugs/public/" |
|
3 |
|
|
4 |
apache::vhost_base { "hugs.$domain": |
$vhostdir = "$websites::base::webdatadir/hugs.$::domain" |
5 |
location => $vhostdir, |
$svn_location = "svn://svn.$::domain/svn/web/hugs/public/" |
|
} |
|
6 |
|
|
7 |
subversion::snapshot { "$vhostdir": |
apache::vhost::base { "hugs.$::domain": |
8 |
source => $svn_location |
location => $vhostdir, |
9 |
} |
} |
10 |
|
|
11 |
package { php-exif: } |
subversion::snapshot { $vhostdir: |
12 |
|
source => $svn_location |
13 |
} |
} |
14 |
|
|
15 |
|
package { 'php-exif': } |
16 |
} |
} |