blob: b82b902986f7e6eaba51f7a72864bc1481607a8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class websites::static {
include websites::base
$vhostdir = "$websites::base::webdatadir/static.$::domain"
apache::vhost::other_app { "static.$::domain":
vhost_file => 'websites/vhost_static.conf',
}
file { $vhostdir:
ensure => directory,
}
git::snapshot { "$vhostdir":
source => "git://git.$::domain/web/www",
}
}
|